commands

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2017 License: Apache-2.0 Imports: 12 Imported by: 6

Documentation

Overview

Package commands contains any general setup/helpers valid for all subcommands

Index

Constants

View Source
const (
	ChainFlag = "chainid"
	NodeFlag  = "node"
	SeedFlag  = "seed"

	ConfigFile = "config.toml"
)

Variables

View Source
var InitCmd = &cobra.Command{
	Use:   "init",
	Short: "Initialize the light client for a new chain",
	RunE:  runInit,
}

InitCmd will initialize the basecli store

Functions

func AddBasicFlags

func AddBasicFlags(cmd *cobra.Command)

func GetCertifier

func GetCertifier() (*certifiers.InquiringCertifier, error)

func GetProvider

func GetProvider() certifiers.Provider

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL