diff options
Diffstat (limited to 'argv.struct.go')
| -rw-r--r-- | argv.struct.go | 15 | 
1 files changed, 15 insertions, 0 deletions
diff --git a/argv.struct.go b/argv.struct.go new file mode 100644 index 0000000..4a1db02 --- /dev/null +++ b/argv.struct.go @@ -0,0 +1,15 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + +package main + +var argv args + +type args struct { +	Test    *EmptyCmd `arg:"subcommand:test"               help:"test"` +	Verbose bool      `arg:"--verbose"                     help:"be loud about it"` +	Force   bool      `arg:"--force"                       help:"rebuild everything"` +} + +type EmptyCmd struct { +}  | 
