Documentation
¶
Overview ¶
Package commands wires the cobra command tree. root.go owns the global flags, the shared LinkedIn Voyager client factory (borrowed-session cookie auth + ban-safety pacing), and the single render() path used by every command. The tree is built fresh per NewRootCmd() call so tests never leak flag state across cases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandAliases ¶
ExpandAliases rewrites os.Args before cobra parses them: if the first argument names a user-defined alias AND is not a real built-in command, it is replaced by the alias's expansion. Built-ins always win, so an alias can never shadow `auth`, `mail`, etc.
Types ¶
type Credentials ¶
Credentials is the borrowed-session cookie pair. It is stored in the OS keyring as a single JSON blob under the profile key (the fleet-standard auth.Store persists one string per profile), never in the config file. JSESSIONID keeps its surrounding quotes.