# Functions
EnvironmentVarRequiredE checks if a required environment variable is set.
Determine the indent string, accounting for textual tables.
Wrap text to line width, while preserving any indentation Examples: in: text = ` exec\tExecute a command with temporary AWS credentials obtained by logging into Gruntwork Houston` lineWidth = 80 indent = ` \t` out: exec\tExecute a command with temporary AWS credentials obtained by \tlogging into Gruntwork Houston.
Wrapper around cli.NewApp that sets the help text printer.
No description provided by the author
No description provided by the author
regexp version of strings.SplitAfter.
Run the given app, handling errors, panics, and stack traces where possible.
StringFlagRequiredE checks if a required string flag is passed in on the CLI.
No description provided by the author
HelpPrinter that will wrap the text at HELP_TEXT_LINE_WIDTH characters, while preserving indentation and table tabs.
# Constants
This version of the app help template has the following changes over the default ones: - Headers are title cased as opposed to all caps - NAME, VERSION, AUTHOR, COPYRIGHT, and GLOBAL OPTIONS sections are removed - Global options are displayed by name in the usage text.
This version of the command help template has the following changes over the default ones: - Headers are title cased as opposed to all caps - NAME and CATEGORY sections are removed.
# Variables
Override this to have custom line widths.
# Structs
No description provided by the author