cli

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 26 Imported by: 0

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.

Jump to

Keyboard shortcuts

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