Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigErrorCheck ¶ added in v0.0.30
ConfigErrorCheck will print error only if no args passed Main reason to do it in PreRun allows us to run root cmd as usual,
parse help flags if any provided or check if its help command.
For example if config load failed with error (no lets.yaml in current dir) - print error and exit.
func CreateRootCommand ¶
CreateRootCommand used to run only root command without config.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.