Documentation ¶
Index ¶
- func BeautifyText(text, color string) string
- func CreateProjectFromCmd(p *registry.Project, c map[string]*registry.Command, m string) error
- func CreateProjectFromRegistry(p *registry.Project, r map[string]*registry.Repository, m string) error
- func ExecCommand(command string, options []string) error
- func GitClone(rootFolder, templateName string) error
- func MakeFiles(rootFolder string, filesToMake map[string][]byte) error
- func MakeFolder(folderName string, chmod os.FileMode) error
- func RemoveFolders(rootFolder string, foldersToRemove []string)
- func SendMsg(startWithNewLine bool, caption, text, color string, endWithNewLine bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeautifyText ¶ added in v1.4.0
BeautifyText function for send (colored or common) message to output.
func CreateProjectFromCmd ¶ added in v1.4.0
CreateProjectFromCmd function for create a new project from a comand line.
func CreateProjectFromRegistry ¶ added in v1.4.0
func CreateProjectFromRegistry(p *registry.Project, r map[string]*registry.Repository, m string) error
CreateProjectFromRegistry function for create a new project from repository.
func ExecCommand ¶ added in v1.4.0
ExecCommand function to execute a given command.
func MakeFolder ¶ added in v1.4.0
MakeFolder function for create folder.
func RemoveFolders ¶ added in v1.4.0
RemoveFolders function for massively remove folders.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.