summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-06 21:50:43 -0500
committerJeff Carr <[email protected]>2025-09-06 21:50:43 -0500
commit5c6bbcdbb2938488c37a9e18b713179ee9340ab8 (patch)
treeb8af48e03329083e1385e75062914c7c82d3b474 /argv.go
parentf6a79c3be8239e80e39c8992b71b43fdc95d61bb (diff)
cli user interface
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index 68c591e..62f7aec 100644
--- a/argv.go
+++ b/argv.go
@@ -25,7 +25,7 @@ type args struct {
GitFetch *FindCmd `arg:"subcommand:fetch" help:"run 'git fetch master'"`
List *FindCmd `arg:"subcommand:list" help:"print a table of the current repos"`
Merge *MergeCmd `arg:"subcommand:merge" help:"merge branches"`
- Normal *EmptyCmd `arg:"subcommand:normal" help:"set every repo to the default state for software development"`
+ Normal *NormalCmd `arg:"subcommand:normal" help:"set every repo to the default state for software development"`
Patch *PatchCmd `arg:"subcommand:patch" help:"make patchsets"`
Pull *PullCmd `arg:"subcommand:pull" help:"run 'git pull'"`
URL string `arg:"--connect" help:"forge url"`
@@ -42,6 +42,11 @@ type args struct {
type EmptyCmd struct {
}
+type NormalCmd struct {
+ On *EmptyCmd `arg:"subcommand:on" help:"turn normal mode on"`
+ Off *EmptyCmd `arg:"subcommand:off" help:"turn normal mode off"`
+}
+
type CommitCmd struct {
Submit bool `arg:"--submit" default:"true" help:"submit the patches to forge"`
}