brand

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 1 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 brand is the one place the tool's names are decided.

The product grew from an SSH manager into two features - SSH keys and config, and the auth tokens package managers and git read - and took a new name and a new command with it. Every user-facing mention of either goes through these constants, so the next rename is an edit here and not a search across the tree.

The repository (simtabi/authama) and the Go module path (github.com/simtabi/authama/src) followed the name at 0.1.0; the config home (~/.config/authama) and the environment variables (AUTHAMA_*) at 0.1.1; the release archives, the Linux packages, the Homebrew cask and the Scoop manifest at 0.1.2. The sshmgr binary that shipped beside authama as a deprecated alias was removed after 0.1.3, and the old environment variable names stopped being read on 2026-11-07. Nothing writes the old names. What older releases left on disk is still read where losing it would hurt: the old home (copied over once, see migratesvc), and the managed-block markers, known_hosts tag, provider key titles, bundle names and scheduler label (see each one's comment).

Index

Constants

View Source
const (
	// Name is the display name: titles, banners, the web UI, the docs.
	Name = "Authentication Access Manager"

	// Command is the binary and the command people type.
	Command = "authama"

	// Summary is the one-line description under the name.
	Summary = "SSH keys & config, and package-manager / git auth tokens, in one tool"
)

Variables

View Source
var TopLevel = []string{"version", "doctor", "init", "migrate", "settings", "history", "events", "man", "serve", "owner", "repair", "reset", "export", "ssh", "token", "checklist", "api", "webhook", "mcp", "companion"}

TopLevel lists the commands that sit directly under Command. Every other verb lives in the ssh group; a test in the cli package keeps this list equal to the command tree.

View Source
var TopLevelAliases = []string{"auth"}

TopLevelAliases are the other names of top-level commands: `auth` is the token group. The same test keeps it equal to the tree's aliases.

Functions

func IsTopLevel added in v0.1.6

func IsTopLevel(word string) bool

IsTopLevel reports whether word names a command directly under Command, by its name or an alias.

func Line

func Line(cmd string) string

Line spells a command the way a user types it now: a top-level verb as `authama <verb>`, an SSH verb (as the history and the web record it) as `authama ssh <verb>`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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