updating readme
parent
498501c658
commit
2eb04f5c0e
@ -0,0 +1,6 @@
|
|||||||
|
```
|
||||||
|
/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.
|
Loading…
Reference in New Issue