Documentation ¶
Index ¶
- Variables
- func GenerateUsageHint(userShell, cmdLine string) string
- func GenerateUsageHintWithComment(userShell, cmdLine string) string
- func GetEnvString(userShell string, envName string, envValue string) string
- func GetPathEnvString(userShell string, prependedPath string) string
- func GetShell(userShell string) (string, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnknownShell = errors.New("Error: Unknown shell")
)
Functions ¶
func GenerateUsageHint ¶
func GenerateUsageHintWithComment ¶ added in v1.23.0
func GetPathEnvString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.