Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately.
func GlobalExitCodeForTesting ¶
func GlobalExitCodeForTesting() int
GlobalExitCodeForTesting reports the exit code recorded by the most recent command execution. It exists so external test packages can verify the JSON-vs-human exit-code contract that handleError implements.
func NewRootCmdForTesting ¶
NewRootCmdForTesting creates a fresh root command instance for testing This avoids state contamination between tests by creating new command instances
func ResetGlobalExitCodeForTesting ¶
func ResetGlobalExitCodeForTesting()
ResetGlobalExitCodeForTesting clears the recorded exit code. External tests call it before each command execution so a value left by a prior run cannot leak into the assertion.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
groups
|
|
|
subaccounts/apikeys
Package apikeys implements the nested `subaccounts api-keys` command group.
|
Package apikeys implements the nested `subaccounts api-keys` command group. |
Click to show internal directories.
Click to hide internal directories.