From 2eb04f5c0efa5764062c478103271c7c717b0619 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Tue, 6 Jun 2023 18:55:50 -0400 Subject: [PATCH] updating readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 README.md 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.