Documentation
¶
Index ¶
- func EditString(input string) (string, error)
- func Exec(name string, args ...string) (string, error)
- func FindRelativePathInRepo(path string) (string, error)
- func GenerateTemplateFunctions(tokenSeparators []string) (template.FuncMap, error)
- func ReadFile(filename string) ([]byte, error)
- func ReadYaml(filename string, data interface{}) error
- func RemoveConsecutiveDuplicates(s string, chars []rune) string
- func StartSpinner(loadingMsg string, finalMsg string) *spinner.Spinner
- func WriteFile(filename string, content []byte) error
- func WriteYaml(filename string, data interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EditString ¶ added in v0.0.3
EditString opens the default editor with input string. Returns the edited string.
func FindRelativePathInRepo ¶ added in v0.7.0
FindRelativePathInRepo traverses up from the current directory recursively until a relative path is found. It returns the first relative path found, or os.ErrNotExists if no relative path is found.
func GenerateTemplateFunctions ¶ added in v0.0.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.