Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProgramName ¶
func ProgramName() string
ProgramName returns the executable name from os.Args[0] for help and errors. Use so both "specs" and "specs-ci" show the correct branding.
Types ¶
type Root ¶
type Root struct {
// contains filtered or unexported fields
}
Root is the root command dispatcher (kubectl-style).
func (*Root) Name ¶
Name returns the executable name (same as ProgramName). Enables both "specs" and "specs-ci".
func (*Root) PrintHelp ¶
func (r *Root) PrintHelp()
PrintHelp prints the main help message. Uses executable name from os.Args[0] so both "specs" and "specs-ci" show the correct branding.
func (*Root) RegisterGroup ¶
RegisterGroup registers a command group (e.g. "coverage") with subcommands.
func (*Root) RegisterTopLevel ¶
RegisterTopLevel registers a top-level command (e.g. "run", "doctor").
Click to show internal directories.
Click to hide internal directories.