Documentation
¶
Index ¶
- Variables
- func CommandNotFound(ctx context.Context, c *cli.Command, s string)
- func HelpPrinterNewFunctions(w io.Writer, templ string, data interface{})
- func InvalidFlagAccessHandler(ctx context.Context, c *cli.Command, s string)
- func OnUsageError(ctx context.Context, cmd *cli.Command, err error, isSubcommand bool) error
- func OnUsageErrorSite(ctx context.Context, cmd *cli.Command, err error, isSubcommand bool) error
- func Run(appName, version, commit, date string, fs afero.Fs) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandHelpTemplate = `` /* 725-byte string literal not displayed */
New template for the Sub-SubCommands with the flags begin able to support Indentation and Wrapper
View Source
var RootCommandHelpTemplate = `` /* 1119-byte string literal not displayed */
New template with the flags begin able to support Indentation and Wrapper
View Source
var SubcommandHelpTemplate = `` /* 983-byte string literal not displayed */
New template for the SubCommands with the flags begin able to support Indentation and Wrapper
Functions ¶
func CommandNotFound ¶
Default Functions for the Logger, of commands and flags not found.
func HelpPrinterNewFunctions ¶
The New HelpPrinter function with support of:
Defining max Length for the text be wrapped Calculating the offset need fr flags...
func OnUsageError ¶
func OnUsageErrorSite ¶
Function for the Subcommands of tf, to show the required use of the flag -site
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.