Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallCompletion ¶ added in v0.4.4
InstallCompletion installs command line tab completion for a given shell.
func IsCompleting ¶ added in v0.6.0
IsCompleting returns whether tab-completion is currently occurring.
func ShowAppHelp ¶ added in v0.1.3
ShowAppHelp shows the help for a given app.
func UninstallCompletion ¶ added in v0.4.4
UninstallCompletion uninstalls command line tab completion for a given shell.
Types ¶
type Metadata ¶ added in v0.8.0
type Metadata struct {
CfgPath string
CfgText []byte
Interpreter []string
Logger *ui.Logger
InstallCompletion string
UninstallCompletion string
PrintHelp bool
PrintVersion bool
CleanCache bool
CleanProjectCache bool
CleanTaskCache string
}
Metadata contains global configuration settings.
func NewConfiglessMetadata ¶ added in v0.8.0
NewConfiglessMetadata returns a metadata object with application defaults, without any user configuration. This can be used to provide basic functionality in case of user error.
Click to show internal directories.
Click to hide internal directories.