Documentation
¶
Overview ¶
Package root constructs the root command that assembles all subcommands and defines cross-cutting behavior in the Before hook (signal handling).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRootCmd ¶
NewRootCmd constructs the root command with all subcommands registered. The Factory is passed to each subcommand constructor, allowing them to extract only the dependencies they need. The Before hook runs before every subcommand and enriches the context with cross-cutting concerns; the After hook tears down infrastructure started in Before.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.