Documentation
¶
Overview ¶
Package cli provides a command registry so feature packages can self-register cobra commands via init() without touching main.go. This enables parallel development across worktrees with zero merge conflicts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
All returns all registered command factories. main.go calls this after all packages are imported.
func Get ¶
Get returns the command factory registered with the given Use name. Returns nil if not found. Use this to pick specific commands in a desired order rather than relying on import/init order.
func GetMany ¶
GetMany returns command factories for the given names in order. Unknown names are skipped silently.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.