cli

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRootCommand

func BuildRootCommand() *cobra.Command

BuildRootCommand creates the full afc CLI command tree by calling apikit.RootCommand() and adding workspace subcommands alongside the standard apikit commands (login, user, keys, tokens, orgs, admin).

func WorkspaceCmd

func WorkspaceCmd() *cobra.Command

WorkspaceCmd returns the 'workspace' parent cobra.Command with subcommands for create, list, get, update, archive, reactivate, and delete.

The authenticated CLI client is retrieved from the Cobra context via apikit.CLIClientFromCmd — credentials are resolved by apikit's PersistentPreRunE from flags, environment variables, and the config file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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