diff --git a/README.md b/README.md new file mode 100644 index 0000000..fab267e --- /dev/null +++ b/README.md @@ -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.