diff options
| author | Jeff Carr <[email protected]> | 2025-04-20 20:41:24 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-04-20 20:41:24 -0500 |
| commit | 52c9fece43e5845ed795887eab073c88d70420e0 (patch) | |
| tree | bc9d8f574c74c959222a4aa6a7b0545a828ce45c /argv.go | |
| parent | 06cf0f7d844192eacbaeec60e3cc12c9a7968469 (diff) | |
add 'forge sync'v0.22.115
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -24,6 +24,7 @@ type args struct { List *FindCmd `arg:"subcommand:list" help:"print a table of the current repos"` Patch *PatchCmd `arg:"subcommand:patch" help:"make patchsets"` GitPull *FindCmd `arg:"subcommand:pull" help:"run 'git pull'"` + Sync *SyncCmd `arg:"subcommand:sync" help:"sync repos with upstream"` URL string `arg:"--connect" help:"forge url"` All bool `arg:"--all" help:"git commit --all"` Build string `arg:"--build" help:"build a repo"` @@ -91,6 +92,11 @@ type CheckoutCmd struct { Master *FindCmd `arg:"subcommand:master" help:"git checkout master"` } +type SyncCmd struct { + Clean *EmptyCmd `arg:"subcommand:clean" help:"sync everything to upstream master"` + User *EmptyCmd `arg:"subcommand:user" help:"sync everything to user"` +} + type DirtyCmd struct { } |
