Documentation ¶
Index ¶
- func AddDependency(packageList []string, isDev bool, projectName string) error
- func CloneTemplateRepo(tmpRepoDir string, branch string) error
- func CopyTemplateFromRepo(templateToCopy string, destinationDir string, copyFolderContent bool) error
- func DecodeJson(filePath string) (map[string]interface{}, *os.File, error)
- func DeleteTemplateRepo(tmpRepoDir string) error
- func GetBooleanInput(label string) string
- func GetCheckbox(label string, opts []string) string
- func GetDeps() ([]string, []string)
- func GetInput(label string) string
- func InitFlags(rootCmd *cobra.Command)
- func InstallDependencies(projectName string, packageManager string) error
- func SaveJsonFile(file *os.File, data map[string]interface{}) error
- func SetDeps(newDeps []string, newDevDeps []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneTemplateRepo ¶ added in v1.0.0
func CopyTemplateFromRepo ¶ added in v1.0.0
func DeleteTemplateRepo ¶ added in v1.0.0
func GetBooleanInput ¶
func GetCheckbox ¶
func InstallDependencies ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.