cmd

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

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

func AddGenesisAccountCmd(defaultNodeHome string) *cobra.Command

AddGenesisAccountCmd returns add-genesis-account cobra Command.

func Execute

func Execute(rootCmd *cobra.Command, envPrefix string) error

Execute executes the root command.

func GetPersistentPreRunE added in v0.18.0

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.

func QueryCmd added in v0.18.0

func QueryCmd() *cobra.Command

func TxCmd added in v0.18.0

func TxCmd() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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