Documentation ¶
Index ¶
- func ConvertEnvMapToStringSlice(env map[string]string) []string
- func GetHostFromGitRemote(input string) (string, error)
- func IsCIEnvironment() (val bool)
- func IsExecutableInPath(executable string) bool
- func IsInteractiveTerminal() bool
- func IsWindowsTerminal() bool
- func ToEnvName(input string) string
- func ToUnixPath(path string) string
- func ToUnixPathArgs(data string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostFromGitRemote ¶
func IsCIEnvironment ¶
func IsCIEnvironment() (val bool)
IsCIEnvironment checks if this process in running as part of a CI process
func IsExecutableInPath ¶
IsExecutableInPath checks if a executable is available in PATH
func IsInteractiveTerminal ¶
func IsInteractiveTerminal() bool
IsInteractiveTerminal checks if the current session is/supports interactive
func IsWindowsTerminal ¶
func IsWindowsTerminal() bool
IsWindowsTerminal checks if the current execution context is the new windows terminal
func ToUnixPath ¶
ToUnixPath turns a windows path into a unix path
func ToUnixPathArgs ¶
ToUnixPathArgs checks each argument and turns it into a unix path if needed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.