Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = "0.1.0"
Version is set at build time via ldflags.
Functions ¶
func AddCLISubcommands ¶ added in v0.40.3
AddCLISubcommands registers the core Base CLI subcommands (collection, record, login, whoami, crons, daemon) directly onto the given parent command. Use this instead of NewCLICommand when you want the commands at root level (e.g. `ats collection list` instead of `ats cli collection list`).
Does NOT add network flags (--mainnet, --testnet, --devnet, --dev) or infrastructure commands (cluster, operator, config, status, self, rpc) because the parent's root typically already has a --dev flag from Base.
func NewCLICommand ¶ added in v0.40.3
NewCLICommand returns the top-level Cobra command tree for the Base CLI client. These subcommands hit the running server's HTTP API, so they work against any Base-backed daemon (base, atsd, brokerd, etc.) by URL.
Usage from a downstream daemon:
rootCmd.AddCommand(cmd.NewCLICommand())
func NewIAMUserCommand ¶ added in v1.0.0
NewIAMUserCommand returns the `iam-user` cobra subtree. Currently only `create` is implemented; `list` and `delete` can be layered on later if operators ask for them.
Types ¶
This section is empty.