Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandHomeDir ¶
Expand expands the path to include the home directory if the path is prefixed with `~`. If it isn't prefixed with `~`, the path is returned as-is.
func HelpFromInterface ¶ added in v0.11.0
func HelpFromInterface(item interface{}) string
func Home ¶
Dir returns the home directory for the executing user. An error is returned if a home directory cannot be detected.
func StripColorTags ¶ added in v0.11.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.