Documentation ¶
Index ¶
- func BoolPrompt(prompt *promptui.Prompt) bool
- func HumanInteger[N constraints.Integer](input N) string
- func OpenBrowser(url string)
- func PrettyVersion(version string) string
- func ReadJSONFile(filename string, i interface{}) error
- func SelectPrompt(prompt *promptui.Select) string
- func SimpleGitExec(args string) (simpleGitExecOutput, error)
- func StringPrompt(prompt *promptui.Prompt) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolPrompt ¶
func HumanInteger ¶ added in v0.1.23
func HumanInteger[N constraints.Integer](input N) string
HumanInteger returns the number in a human readable format
func PrettyVersion ¶ added in v0.1.13
PrettyVersion returns a pretty colored version string for terminal printing
func ReadJSONFile ¶
ReadJSONFile parses the given file into i
func SelectPrompt ¶
func SimpleGitExec ¶
SimpleGitExec runs a git command and returns the output in a easy to process way
func StringPrompt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.