cmd

package
v1.0.0-rc11 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagJWTExp    = "exp"
	FlagJWTNbf    = "nbf"
	FlagJWTAccess = "access"
	FlagJWTScope  = "scope"
)

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 AuthCmd added in v0.38.3

func AuthCmd() *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