# Functions

AddTemplateFunc adds a template function that's available to Usage and Help template generation.
AddTemplateFuncs adds multiple template functions that are available to Usage and Help template generation.
CheckErr prints the msg with the prefix 'Error:' and exits with error code 1.
Eq takes two types and checks whether they are equal.
自定义 FlagUsages 函数,添加无序列表标记.
FormatHelpTmpl - Applies format template to help string.
No description provided by the author
Gt takes two types and checks whether the first type is greater than the second.
No description provided by the author
OnFinalize sets the passed functions to be run when each command's Execute method is terminated.
OnInitialize sets the passed functions to be run when each command's Execute method is called.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WriteStringAndCheck writes a string into a buffer, and checks if the error is not nil.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EnableCaseInsensitive allows case-insensitive commands names.
EnableCommandSorting controls sorting of the slice of commands, which is turned on by default.
EnablePrefixMatching allows setting automatic prefix matching.
EnableTraverseRunHooks executes persistent pre-run and post-run hooks from all parents.
No description provided by the author
No description provided by the author
MousetrapDisplayDuration controls how long the MousetrapHelpText message is displayed on Windows if the CLI is started from explorer.exe.
MousetrapHelpText enables an information splash screen on Windows if the CLI is started from explorer.exe.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author