create

package
v0.0.0-...-5a1941a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2016 License: BSD-2-Clause Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL