cmd

package
v0.32.3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 48 Imported by: 4

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 ConvertBech32Cmd added in v0.24.0

func ConvertBech32Cmd() *cobra.Command

ConvertBech32Cmd get cmd to convert any bech32 address to an akash prefix.

func Execute

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

Execute executes the root command.

func ExecuteWithCtx added in v0.30.2

func ExecuteWithCtx(ctx context.Context, rootCmd *cobra.Command, envPrefix string) error

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.

func QueryCmd

func QueryCmd() *cobra.Command

func TxCmd

func TxCmd() *cobra.Command

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