Documentation ¶
Overview ¶
You can use the "packr clean" command to clean up this, and any other packr generated files.
Index ¶
Constants ¶
View Source
const ProjectHelpTemplate = `` /* 311-byte string literal not displayed */
Variables ¶
View Source
var Cmd = cli.Command{ Name: "new", Aliases: []string{"n"}, Usage: "Create hellocmd template project", Action: CreateProject, SkipFlagParsing: false, UsageText: ProjectHelpTemplate, Flags: []cli.Flag{ cli.StringFlag{ Name: "dir, d", Usage: "Specify the directory of the project", Destination: &project.Path, }, }, }
View Source
var (
DefaultProjectName = "helloapp"
)
Functions ¶
func CreateProject ¶
CreateProject create a template project for Hellocmd
Types ¶
Click to show internal directories.
Click to hide internal directories.