Documentation ¶
Index ¶
- func Bold() *color.Color
- func BoldError(err string) error
- func BoldGreen() *color.Color
- func BoldRed() *color.Color
- func CloneAndPullTemplatesRepo(repo string, templateDir string) error
- func CreateDir(folderPath string) error
- func DefaultLoading(loadingFunc func(sp *spinner.Spinner) error, loadingText string, ...) error
- func EmojiPrintln(emojiPrefix string, text string)
- func FileExists(filename string) bool
- func InitCliHomeDir(templateDir string) error
- func IsDir(dirInput string) bool
- func IsDirEmpty(name string) (bool, error)
- func Loading(loadingFunc func(sp *spinner.Spinner) error, prefixEmoji string, ...) (*spinner.Spinner, error)
- func RunCmd(name string, args ...string) (error, *bytes.Buffer)
- func RunCmdIn(in *bytes.Buffer, name string, args ...string) (error, *bytes.Buffer)
- func RunCmdInDir(dir string, name string, args ...string) (error, *bytes.Buffer)
- func RunCmdInteractive(name string, args ...string) error
- func RunCmdInteractiveInDir(dir string, name string, args ...string) error
- func Select(label string, items map[string]interface{}) (interface{}, error)
- func SimplePrompt(prompt *promptui.Prompt, confirmable bool) (interface{}, error)
- func YesNoPrompt(label string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultLoading ¶
func EmojiPrintln ¶
func FileExists ¶
func InitCliHomeDir ¶
func IsDirEmpty ¶
func RunCmdInteractive ¶
func RunCmdInteractiveInDir ¶
func SimplePrompt ¶
func YesNoPrompt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.