utils

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPrompt

func BoolPrompt(prompt *promptui.Prompt) bool

func OpenBrowser

func OpenBrowser(url string)

OpenBrowser opens the given url in a browser

func ReadJSONFile

func ReadJSONFile(filename string, i interface{}) error

ReadJSONFile parses the given file into i

func SelectPrompt

func SelectPrompt(prompt *promptui.Select) string

func SimpleGitExec

func SimpleGitExec(args string) (string, error)

SimpleGitExec runs a git command and returns the output in a easy to process way

func StringPrompt

func StringPrompt(prompt *promptui.Prompt) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL