summaryrefslogtreecommitdiff
path: root/forgeConfig/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'forgeConfig/argv.go')
-rw-r--r--forgeConfig/argv.go21
1 files changed, 12 insertions, 9 deletions
diff --git a/forgeConfig/argv.go b/forgeConfig/argv.go
index 6493284..5e01d4f 100644
--- a/forgeConfig/argv.go
+++ b/forgeConfig/argv.go
@@ -9,15 +9,18 @@ import (
var argv args
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"`
- 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"`
+ 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"`
+ GoPath string `arg:"--gopath" help:"gopath 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"`
+ Favorite bool `arg:"--favorite" default:"false" help:"forge will always go-clone or git clone this"`
+ Private bool `arg:"--private" default:"false" help:"repo can not be published"`
+ Interesting bool `arg:"--interesting" default:"false" help:"something you decided was cool"`
}
func (a args) Description() string {