Documentation
¶
Overview ¶
Package cli implements the dbosctl command tree. Each subcommand lives in its own file and registers itself on rootCmd from that file's init(); there is no central registration list. RunE functions return errors rather than printing and exiting — Execute owns error printing and the process exit.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute runs the root command under a context cancelled by SIGINT/SIGTERM, so an interrupt aborts the in-flight request cleanly (closing the connection) rather than hard-killing mid-request. A second Ctrl-C hard-kills. Execute owns error printing and the exit code: 1 general, 2 usage, 3 auth-required, 4 not-found (see the Exit codes section of AGENTS.md); an interrupt exits 130.
Types ¶
This section is empty.