summaryrefslogtreecommitdiff
path: root/cmd/ponzu/usage.go
diff options
context:
space:
mode:
authorOllie Phillips <oliver@eantics.co.uk>2017-02-24 15:17:28 +0000
committerOllie Phillips <oliver@eantics.co.uk>2017-02-24 15:17:28 +0000
commitfff0a34cffd686c09144058cbba44146fabc42e5 (patch)
treedd7e3e7004dd57d1cca675632773a2c08f0929be /cmd/ponzu/usage.go
parentae242b7f926b1fcbec36d66df8355f432219d1c9 (diff)
add as command line option and usage text
Diffstat (limited to 'cmd/ponzu/usage.go')
-rw-r--r--cmd/ponzu/usage.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/cmd/ponzu/usage.go b/cmd/ponzu/usage.go
index 3418cc1..a49f1d9 100644
--- a/cmd/ponzu/usage.go
+++ b/cmd/ponzu/usage.go
@@ -162,6 +162,21 @@ var usageVersion = `
`
+var usageAdd = `
+[--cli] add, d <addon URI>
+
+ Downloads addon from specified URI to $GOPATH/src and copys it to the
+ current project's ./addons directory. Must be called from within a
+ Ponzu project directory.
+
+ Example:
+ $ ponzu add github.com/bosssauce/fbscheduler
+ (or)
+ $ ponzu --cli add github.com/bosssauce/fbscheduler"
+
+
+`
+
func ponzu(isCLI bool) (map[string]interface{}, error) {
kv := make(map[string]interface{})