Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cobra.Command{ Use: "create <project dir>", Short: "Create a new Gone Project", RunE: func(cmd *cobra.Command, args []string) error { usr, err := user.Current() if err != nil { return err } cacheDir = strings.ReplaceAll(cacheDir, "~", usr.HomeDir) if isListExample { return listExamples() } if len(args) < 1 { return errors.New("please input project path") } return createProjectFromTpl(templateName, moduleName, args[0]) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.