You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 years ago | |
|---|---|---|
| cmd | 2 years ago | |
| LICENSE | 2 years ago | |
| README.md | 2 years ago | |
| go.mod | 2 years ago | |
| go.sum | 2 years ago | |
| main.go | 2 years ago | |
README.md
/viper 5 main 130 go run main.go validate --format markdown
viper is providing "" for format flag
/viper 5 main
I'm trying to bind viper to a PersistentFlag set on the RootCmd, and access it in the RunE method of a subcommand.