cli

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands() []*cobra.Command

CANARY: REQ=ENG-4326; FEATURE="CommandRegistry"; ASPECT=CLI; STATUS=IMPL; UPDATED=2026-08-29 Commands returns all top-level commands for the canary CLI. Subcommands are already registered with their parent commands via init() functions.

Usage:

rootCmd.AddCommand(cli.Commands()...)

Note: Commands with subcommands (bug, gap, deps, project, db, doc, legacy, migrate) have their subcommands registered in their respective package init() functions.

func Tools

func Tools() []*cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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