Documentation
¶
Overview ¶
Package authcli implements the `graywolf auth` subcommand tree: set-password, list-users, and delete-user. It is a separate package so the main dispatch shim stays tiny; the auth CLI has its own flag set and does not share any global state with the normal service-running path.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run dispatches one of the three auth subcommands. args is the slice after "graywolf auth", i.e. os.Args[2:]. buildVersion is the linker-injected main.Version — plumbed through so CLI-created users get seeded with the running build version for LastSeenReleaseVersion and don't see the release-notes backlog on first login. Errors are returned rather than printed/os.Exit'd so the calling shim controls the exit code in one place.
Types ¶
This section is empty.