Documentation ¶
Index ¶
- Variables
- func CalculateDurationTime(startTimer time.Time) string
- func CopyFromEmbeddedFS(efs *EmbeddedFileSystem) error
- func ExecCommand(command string, options []string, silentMode bool) error
- func GenerateFileFromTemplate(fileName string, variables map[string]interface{}) error
- func GitClone(templateType, templateURL string) error
- func MakeFile(fileName string, fileData []byte) error
- func MakeFolder(folderName string) error
- func RemoveFolders(rootFolder string, foldersToRemove []string)
- func ShowError(text string) error
- func ShowMessage(level, text string, startWithNewLine, endWithNewLine bool)
- type EmbeddedFileSystem
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Stdout = colorable.NewColorableStdout() // add a colorable std out Stderr = colorable.NewColorableStderr() // add a colorable std err )
Functions ¶
func CalculateDurationTime ¶
CalculateDurationTime func to calculate duration time.
func CopyFromEmbeddedFS ¶
func CopyFromEmbeddedFS(efs *EmbeddedFileSystem) error
CopyFromEmbeddedFS function for copy files from embedded file system.
func ExecCommand ¶
ExecCommand function to execute a given command.
func GenerateFileFromTemplate ¶
GenerateFileFromTemplate func to generate files from templates.
func RemoveFolders ¶
RemoveFolders function for massively remove folders.
func ShowMessage ¶
ShowMessage function for showing output messages.
Types ¶
Click to show internal directories.
Click to hide internal directories.