summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/argv.go b/argv.go
index c7d5eeb..fe8ad2f 100644
--- a/argv.go
+++ b/argv.go
@@ -10,6 +10,7 @@ package main
var argv args
type args struct {
+ Cache *CacheCmd `arg:"subcommand:cache" help:"chose the cache of repos to work with"`
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"`
@@ -115,6 +116,10 @@ type GenerateCmd struct {
Strict bool `arg:"--strict" help:"die if any namespaces are missing"`
}
+type CacheCmd struct {
+ Filename string `arg:"positional"`
+}
+
type CleanCmd struct {
List *EmptyCmd `arg:"subcommand:list" help:"list not clean repos"`
}