summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/argv.go b/argv.go
index 101fab8..0efa3c9 100644
--- a/argv.go
+++ b/argv.go
@@ -16,9 +16,13 @@ import (
var argv args
type args struct {
- Daemon bool `arg:"--daemon" default:"false" help:"run in daemon mode"`
- Port int `arg:"--port" default:"2521" help:"port to run on"`
- URL string `arg:"--url" help:"url to use"`
+ Test *EmptyCmd `arg:"subcommand:test" help:"New to forge? This is for you.'"`
+ Daemon bool `arg:"--daemon" default:"false" help:"run in daemon mode"`
+ Port int `arg:"--port" default:"2521" help:"port to run on"`
+ URL string `arg:"--url" help:"url to use"`
+}
+
+type EmptyCmd struct {
}
func (args) Version() string {