mkideal opened this issue 9 years ago · 0 comments
I want add a new tag category, named parser, e.g.
parser
type T struct { A string B int } type argT struct { Value T `cli:"t" usage:"parse from json" parser:"json"` }
Wanted parsing -t '{"A": "string", B:2}' to argT.Value
-t '{"A": "string", B:2}'