Documentation ¶
Overview ¶
Package create is used for copying skeleton app to a requested destination. Herewith, import path of the skeleton app is expected to be rewritten to a new one.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Handler = tool.Handler{
Run: main,
Name: "new",
Usage: "{path}",
Info: "create a skeleton application",
Desc: `New creates files and directories to get a new app running quickly.
The created files and directories will be saved to the specified path.
The path must be a directory that does not exist yet, e.g:
./sample
or alternatively:
github.com/MyUsername/ProjectName
Moreover, it is required to be located inside "$GOPATH/src".
Examples:
cli new github.com/goaltools/sample
cli new ./sample
cli new ../goaltools/sample
`,
}
Handler is an instance of "new" subcommand (tool).
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.