summaryrefslogtreecommitdiff
path: root/cmd/ponzu/new.go
diff options
context:
space:
mode:
authorMartin Treusch von Buttlar <martin.tvb@vitraum.de>2017-05-16 06:40:54 +0200
committerMartin Treusch von Buttlar <martin.tvb@vitraum.de>2017-05-16 06:40:54 +0200
commitd89c33c1398428d4a456ca0252e6b1718efb0b96 (patch)
tree84b24ddb8ad8c651799bb4fdd04290d751b2b11d /cmd/ponzu/new.go
parent8181c4f325519055d7fec9982737b0a22f175534 (diff)
move usage examples to cobra field of same name
Diffstat (limited to 'cmd/ponzu/new.go')
-rw-r--r--cmd/ponzu/new.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd/ponzu/new.go b/cmd/ponzu/new.go
index 3c18a21..d5afadb 100644
--- a/cmd/ponzu/new.go
+++ b/cmd/ponzu/new.go
@@ -21,11 +21,9 @@ there is no local repository to clone from at the local machine's $GOPATH,
'new' will attempt to clone the 'github.com/ponzu-cms/ponzu' package from
over the network.
-Example:
-$ ponzu new myProject
-> New ponzu project created at $GOPATH/src/myProject
-
Errors will be reported, but successful commands return nothing.`,
+ Example: `$ ponzu new myProject
+> New ponzu project created at $GOPATH/src/myProject`,
RunE: func(cmd *cobra.Command, args []string) error {
if len(args) < 1 {
return errors.New("project name not supplied")