jessevdk / go-flags

go command line option parser
http://godoc.org/github.com/jessevdk/go-flags
BSD 3-Clause "New" or "Revised" License
2.59k stars 308 forks source link

custom type positional argument ValueValidator implementation is ignored #397

Open MKrupauskas opened 1 year ago

MKrupauskas commented 1 year ago

while the implementation of the Unmarshaler interface is checked for positional arguments, custom validation rules implementing the ValueValidator interface are not checked

TODO: show a minimal recreation of the bug