summaryrefslogtreecommitdiff
path: root/forgeConfig/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-20 23:51:28 -0600
committerJeff Carr <[email protected]>2024-11-20 23:51:28 -0600
commite8a356fcc2a139970302996336d2f19d28e8ab2a (patch)
tree0f795e8b6698b99cf720dbda366df7d83598e093 /forgeConfig/argv.go
parentce06800c41750f901c43cb35bcf9df8863dc3686 (diff)
ReadOnly() support for wit-package
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"`
}