summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-07-07 20:39:34 -0500
committerJeff Carr <[email protected]>2025-07-07 20:39:34 -0500
commit86e513d845acc63b7d3371aaa41ce7d19603f473 (patch)
treec8365a5af09f4f1d34447ab334429671a7356d80 /argv.go
parent5d57a8968d7b2cdd2e6ab9ee8ef0af9c9fc2fc23 (diff)
minor
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index 4a7b192..8a82ef9 100644
--- a/argv.go
+++ b/argv.go
@@ -20,9 +20,10 @@ type args struct {
Commit *CommitCmd `arg:"subcommand:commit" help:"'git commit' but errors out if on wrong branch"`
Config *ConfigCmd `arg:"subcommand:config" help:"show your .config/forge/ settings"`
Debug *DebugCmd `arg:"subcommand:debug" help:"debug forge"`
- Dirty *DirtyCmd `arg:"subcommand:dirty" help:"show repos git says are dirty"`
+ Dirty *DirtyCmd `arg:"subcommand:dirty" help:"show dirty git repos"`
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"`
Patch *PatchCmd `arg:"subcommand:patch" help:"make patchsets"`
Pull *PullCmd `arg:"subcommand:pull" help:"run 'git pull'"`
URL string `arg:"--connect" help:"forge url"`
@@ -106,6 +107,12 @@ type CheckoutCmd struct {
Master *FindCmd `arg:"subcommand:master" help:"git checkout master"`
}
+type MergeCmd struct {
+ Devel *FindCmd `arg:"subcommand:devel" help:"merge user to devel"`
+ Master *FindCmd `arg:"subcommand:master" help:"merge devel to master"`
+ Publish *EmptyCmd `arg:"subcommand:publish" help:"increment versions and publish master branch"`
+}
+
type SyncCmd struct {
Clean *EmptyCmd `arg:"subcommand:clean" help:"sync everything to upstream master"`
User *EmptyCmd `arg:"subcommand:user" help:"sync everything to user"`