diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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"` } |
