Documentation
¶
Overview ¶
Package app connects parsed commands to their runtime dependencies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handlers ¶
func Handlers(deps Dependencies) cli.Handlers
Handlers connects the available commands to their application services. Each invocation resolves its own store after the global flags are parsed.
Types ¶
type Dependencies ¶
type Dependencies struct {
// Stdout receives the reports printed by commands.
Stdout io.Writer
// Signals coordinates child teardown with process-level cancellation.
Signals *signals.Controller
}
Dependencies contains the process resources shared by command handlers.
Click to show internal directories.
Click to hide internal directories.