summaryrefslogtreecommitdiff
path: root/argv.struct.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-21 13:12:33 -0500
committerJeff Carr <[email protected]>2025-10-21 13:12:33 -0500
commita9af6f2ed2263f11bb13d2220df11402e269cef9 (patch)
tree9cdd9a625e26169405547281addcff33d2a91e1c /argv.struct.go
parenta18f8af684565106917207df22e8da06585e45d2 (diff)
isolate Save() to a single place
Diffstat (limited to 'argv.struct.go')
-rw-r--r--argv.struct.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/argv.struct.go b/argv.struct.go
index e7ad047..f545f44 100644
--- a/argv.struct.go
+++ b/argv.struct.go
@@ -13,8 +13,9 @@ type args struct {
Clean *CleanCmd `arg:"subcommand:clean" help:"'git clean' + reset repos to original state"`
Commit *CommitCmd `arg:"subcommand:commit" help:"'git commit'"`
Gui *EmptyCmd `arg:"subcommand:gui" help:"open the gui"`
+ Config *ConfigCmd `arg:"subcommand:config" help:"show your .config/forge/ settings"`
Merge *MergeCmd `arg:"subcommand:merge" help:"merge branches"`
- Normal *ModeCmd `arg:"subcommand:normal" help:"shortcut to 'forge mode normal'"`
+ Normal *EmptyCmd `arg:"subcommand:normal" help:"shortcut to 'forge mode normal'"`
Mode *ModeCmd `arg:"subcommand:mode" help:"sets the mode (hacking, merging, publishing)"`
Patch *PatchCmd `arg:"subcommand:patch" help:"work with patchsets"`
Pull *PullCmd `arg:"subcommand:pull" help:"'git pull'"`
@@ -100,10 +101,9 @@ type CommitCmd struct {
}
type DevCmd struct {
- Config *ConfigCmd `arg:"subcommand:config" help:"show your .config/forge/ settings"`
- Build *EmptyCmd `arg:"subcommand:build" help:"build this repo"`
- Install *EmptyCmd `arg:"subcommand:install" help:"build & install this repo"`
- URL string `arg:"--connect" help:"forge url"`
+ Build *EmptyCmd `arg:"subcommand:build" help:"build this repo"`
+ Install *EmptyCmd `arg:"subcommand:install" help:"build & install this repo"`
+ URL string `arg:"--connect" help:"forge url"`
}
type GenerateCmd struct {