Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
Signal handling belongs here, at the process entrypoint. Every command receives the resulting context through cmd.Context(), so a SIGTERM cancels one context that the whole tree shuts down from, rather than each component racing to react to the signal itself.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.