summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/argv.go b/argv.go
index aeae447..4551c76 100644
--- a/argv.go
+++ b/argv.go
@@ -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 {
}