Documentation ¶
Index ¶
- Variables
- func AddGenesisAccountCmd(defaultNodeHome string) *cobra.Command
- func ConvertBech32Cmd() *cobra.Command
- func Execute(rootCmd *cobra.Command, envPrefix string) error
- func ExecuteWithCtx(ctx context.Context, rootCmd *cobra.Command, envPrefix string) error
- func GetPersistentPreRunE(encodingConfig params.EncodingConfig, envPrefixes []string) func(*cobra.Command, []string) error
- func NewRootCmd() (*cobra.Command, params.EncodingConfig)
- func QueryCmd() *cobra.Command
- func TxCmd() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidVestingParameters = errors.New("invalid vesting parameters") ErrVestingAmountGreater = errors.New("vesting amount cannot be greater than total amount") )
Functions ¶
func AddGenesisAccountCmd ¶
AddGenesisAccountCmd returns add-genesis-account cobra Command.
func ConvertBech32Cmd ¶ added in v0.24.0
ConvertBech32Cmd get cmd to convert any bech32 address to an akash prefix.
func ExecuteWithCtx ¶ added in v0.30.2
Execute executes the root command.
func GetPersistentPreRunE ¶
func GetPersistentPreRunE(encodingConfig params.EncodingConfig, envPrefixes []string) func(*cobra.Command, []string) error
GetPersistentPreRunE persistent prerun hook for root command
func NewRootCmd ¶
func NewRootCmd() (*cobra.Command, params.EncodingConfig)
NewRootCmd creates a new root command for akash. It is called once in the main function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.