Documentation
¶
Index ¶
- func CopyFile(sourcePath, destinationPath string) error
- func DeferTeaPanicHandler(p *tea.Program)
- func DoesDirectoryExistAndIsNotEmpty(name string) bool
- func DoesDirectoryOrFileExist(path string) bool
- func DownloadFile(url string, filepath string) error
- func ExecuteCmd(name string, args []string, dir string) error
- func ExecuteTemplate(t *template.Template, data interface{}) ([]byte, error)
- func GetLastPathName(path string) string
- func GetLowercaseFirstChar(s string) string
- func GetRefiberTemplateDirPath(currentWorkingDir *string) (*string, error)
- func ListFolders(dirPath string) (*[]*string, error)
- func MatchAllStringByRegex(regex, str string) ([]*string, error)
- func UpdateModuleNameAndImports(projectPath, moduleName *string, warnings *[]*string) error
- func WriteFile(filename, path string, content []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeferTeaPanicHandler ¶ added in v0.2.0
func DoesDirectoryOrFileExist ¶ added in v0.3.0
func DownloadFile ¶
func ExecuteCmd ¶ added in v0.2.0
ExecuteCmd provides a shorthand way to run a shell command
func ExecuteTemplate ¶ added in v0.3.0
func GetLastPathName ¶ added in v0.3.0
func GetLowercaseFirstChar ¶ added in v0.3.0
func GetRefiberTemplateDirPath ¶ added in v0.3.0
func ListFolders ¶ added in v0.3.0
func MatchAllStringByRegex ¶
func UpdateModuleNameAndImports ¶ added in v0.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.