13 lines
771 B
Go
13 lines
771 B
Go
// Package commandkit helps Go applications build consistent command-line
|
|
// interfaces with typed flags and arguments, help, and shared output formatting.
|
|
// Define commands with NewCommand and install them with New or App.Register.
|
|
// Commands and command or flag aliases can be installed together.
|
|
//
|
|
// App.Execute runs a command and returns an Outcome; the application decides
|
|
// when to exit. Handlers use Invocation.Reporter for output and messages.
|
|
// Invocation features can add application-wide flags, decorate the invocation
|
|
// context after CheckInput succeeds, and produce diagnostic reports at finalization.
|
|
// Optional ckconfig and ckprompt modules add inspection and testing commands;
|
|
// applications install those commands explicitly.
|
|
package commandkit
|