l3nz / cli-matic

Compact, hands-free [sub]command line parsing library for Clojure.
Eclipse Public License 2.0
361 stars 29 forks source link

Lots of useless output in 0.1.16 #43

Closed l3nz closed 5 years ago

l3nz commented 5 years ago
"SUB: globals" [{:option "base", :as "The number base for output", :type :int, :default 10}]
"SUB: def" [{:option "a1", :short "a", :env "AA", :as "First addendum", :type :int, :default 0} {:option "a2", :short "b", :as "Second addendum", :type :int, :default 0}]
"Spec for subcmd " #object[clojure.core$constantly$fn__5394 0x79c3f01f "clojure.core$constantly$fn__5394@79c3f01f"]
"Validating Specs" [{:option "base", :as "The number base for output", :type :int, :default 10}] {:base 16, :a1 1, :a2 254, :_arguments []}
"Validating Specs" [{:option "a1", :short "a", :env "AA", :as "First addendum", :type :int, :default 0} {:option "a2", :short "b", :as "Second addendum", :type :int, :default 0}] {:base 16, :a1 1, :a2 254, :_arguments []}
"Failing global" nil
"Failing local" nil
"Failing total" nil

We don't want that.