cli

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 27 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 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