Documentation
¶
Index ¶
- Variables
- func AddFlagHost(cmd *cobra.Command, flags *pflag.FlagSet)
- func AddFlagKey(cmd *cobra.Command, flags *pflag.FlagSet)
- func AddFlagKeyOptional(cmd *cobra.Command, flags *pflag.FlagSet)
- func AddFlagKeyType(cmd *cobra.Command, flags *pflag.FlagSet)
- func AddFlagNode(cmd *cobra.Command, flags *pflag.FlagSet)
- func AddFlagNonce(cmd *cobra.Command, flags *pflag.FlagSet)
- func AddFlagWait(cmd *cobra.Command, flags *pflag.FlagSet)
- func SetupBaseCommand(cmd *cobra.Command)
- func WithSession(fn Runner) cmdRunner
- type Runner
- type Session
Constants ¶
This section is empty.
Variables ¶
View Source
var KeybaseName = "akash"
KeybaseName is the default name of the Keybase
Functions ¶
func AddFlagKeyOptional ¶ added in v0.3.0
func SetupBaseCommand ¶
func WithSession ¶
func WithSession(fn Runner) cmdRunner
Types ¶
type Runner ¶
func RequireHost ¶ added in v0.2.4
func RequireKey ¶
func RequireKeyManager ¶
func RequireNode ¶
func RequireRootDir ¶
func WithPrinter ¶ added in v0.4.0
type Session ¶
type Session interface {
RootDir() string
KeyManager() (keys.Keybase, error)
Node() string
Client() *tmclient.HTTP
TxClient() (txutil.Client, error)
QueryClient() query.Client
KeyName() string
KeyType() (keys.SigningAlgo, error)
Key() (keys.Info, error)
Nonce() (uint64, error)
Log() log.Logger
Signer() (txutil.Signer, keys.Info, error)
Ctx() context.Context
NoWait() bool
Host() string
Password() (string, error)
Printer() uiutil.Printer
}
Click to show internal directories.
Click to hide internal directories.