Documentation
¶
Overview ¶
Package cli wires Cobra commands. The exported NewRootCommand() builder is testable from package _test files; Execute() is the main-entry shim.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute() int
Execute is the main entry point — runs the root command and returns the exit code (0 success, 1 usage error, 2 runtime error).
func NewRootCommand ¶
NewRootCommand builds the codeiq root command and all subcommands. Each subcommand registers itself via init() in this package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.