cli

package
v3.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 71 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cli is the cobra command surface. The binary is authama (brand.Command) and is also installed as sshmgr (brand.LegacyCommand), the name v1 installed as its console script.

The tree has two feature groups and a few commands that serve both:

authama ssh <verb>     SSH keys, profiles, hosts and config
authama token <verb>   package-manager and git auth tokens
authama doctor|init|migrate|tui|history|serve|version

Every SSH verb is also kept, hidden, at the top level, so `sshmgr deploy` and every script and rendered ProxyCommand written before the groups existed still run. TestTheCommandNamesAreDistinct keeps the tree free of names a reader (or cobra) could confuse.

The verb set is pinned against the implementation it replaced by TestTheCommandSurfaceMatchesTheOneItReplaced, which is what makes "no verb was lost" a checked claim rather than a recollection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command and is the only place in the binary that maps an outcome to an exit code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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