cli

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitSuccess        = cliutil.ExitSuccess
	ExitGeneral        = cliutil.ExitGeneral
	ExitUsage          = cliutil.ExitUsage
	ExitConfig         = cliutil.ExitConfig
	ExitConnection     = cliutil.ExitConnection
	ExitTransaction    = cliutil.ExitTransaction
	ExitAuth           = cliutil.ExitAuth
	ExitStore          = cliutil.ExitStore
	ExitPluginNotFound = cliutil.ExitPluginNotFound
)

Variables

View Source
var (
	ExitCode       = cliutil.ExitCode
	ErrUsage       = cliutil.ErrUsage
	ErrConfig      = cliutil.ErrConfig
	ErrConnection  = cliutil.ErrConnection
	ErrTransaction = cliutil.ErrTransaction
	ErrAuth        = cliutil.ErrAuth
)
View Source
var (
	Status   = cliutil.Status
	Statusf  = cliutil.Statusf
	Verbose  = cliutil.Verbose
	Verbosef = cliutil.Verbosef
	Debug    = cliutil.Debug
	Debugf   = cliutil.Debugf
	IsTTY    = cliutil.IsTTY
)
View Source
var (
	Verbosity = cliutil.Verbosity
	IsQuiet   = cliutil.IsQuiet
	IsVerbose = cliutil.IsVerbose
	IsDebug   = cliutil.IsDebug
)

Functions

func Execute

func Execute(root *cobra.Command) error

Execute seeds the SDK client and server context keys on the command context (so that downstream PersistentPreRunE hooks find a non-nil ClientContextKey), then executes the root command.

func NewRootCmd

func NewRootCmd(bi BuildInfo) *cobra.Command

NewRootCmd creates the root cobra command for akt.

Types

type BuildInfo

type BuildInfo struct {
	Version string
	Commit  string
	Date    string
}

BuildInfo holds build-time metadata injected via ldflags.

type CLIError

type CLIError = cliutil.CLIError

Directories

Path Synopsis
Package console implements the `akt console` CLI commands for the Akash Console managed-wallet API (SPEC §2.9, §7).
Package console implements the `akt console` CLI commands for the Akash Console managed-wallet API (SPEC §2.9, §7).
Package keys implements the `akt context keys` CLI commands for managing cryptographic keys within the context's keyring.
Package keys implements the `akt context keys` CLI commands for managing cryptographic keys within the context's keyring.
Package provider implements the `akt provider` CLI commands for interacting with provider gateway APIs.
Package provider implements the `akt provider` CLI commands for interacting with provider gateway APIs.
Package sdl implements the transport-independent `akt sdl` command group: scaffold listing, SDL generation, and offline validation.
Package sdl implements the transport-independent `akt sdl` command group: scaffold listing, SDL generation, and offline validation.
Package store implements the `akt store` CLI commands for managing the local deployment store.
Package store implements the `akt store` CLI commands for managing the local deployment store.
Package workflow generates CLI commands dynamically from workflow definitions.
Package workflow generates CLI commands dynamically from workflow definitions.

Jump to

Keyboard shortcuts

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