summaryrefslogtreecommitdiff
path: root/forgeConfig/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'forgeConfig/argv.go')
-rw-r--r--forgeConfig/argv.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/forgeConfig/argv.go b/forgeConfig/argv.go
index 9081e9e..6493284 100644
--- a/forgeConfig/argv.go
+++ b/forgeConfig/argv.go
@@ -12,8 +12,11 @@ type args struct {
ConfigDir string `arg:"env:FORGE_HOME" help:"defaults to ~/.config/forge/"`
List bool `arg:"--list" default:"false" help:"list repos in your config"`
Add bool `arg:"--add" default:"false" help:"add a new repo"`
+ Delete bool `arg:"--delete" default:"false" help:"delete a repo"`
Update bool `arg:"--update" default:"false" help:"update a repo"`
- Name string `arg:"--name" help:"name of the repo"`
+ Directory bool `arg:"--directory" default:"false" help:"repo is a directory to match against"`
+ ReadOnly bool `arg:"--readonly" default:"false" help:"repo is readonly"`
+ Writable bool `arg:"--writable" default:"false" help:"repo is writable"`
GoPath string `arg:"--gopath" help:"gopath of the repo"`
}