Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChDir ¶
ChDir changes the current working directory to the value of the "working-dir" flag of the parent command, if set. Logs an error and exits if the directory change fails.
func GetBoolFlag ¶
GetBoolFlag retrieves a boolean flag value from a cobra command. Logs an error and exits if the flag cannot be retrieved.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.