Documentation ¶
Overview ¶
Package env holds environment variable names that are meant to be overridden by implementations.
example ¶
package main import "git.rob.mx/nidito/chinampa/env" func init() { env.HelpStyle = "MY_APP_HELP_STYLE" env.Verbose = "MY_APP_VERBOSE" env.Silent = "MY_APP_SILENT" env.ValidationDisabled = "MY_APP_SKIP_VALIDATION" }
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = "DEBUG"
Debug enables printing of debugging information.
View Source
var ForceColor = "COLOR"
ForceColor enables printing of color escape codes in help and log entries.
View Source
var HelpStyle = "HELP_STYLE"
HelpStyle identifies the theme to use for help formatting.
View Source
var NoColor = "NO_COLOR"
NoColor disables printing of color escape codes in help and log entries.
View Source
var Silent = "SILENT"
Silent disables all printing of log entries, except for errors.
View Source
var ValidationDisabled = "SKIP_VALIDATION"
ValidationDisabled disables validation on arguments and options.
View Source
var Verbose = "VERBOSE"
Verbose enables verbose printing of log entries.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.