Use the flags.Value
interface for positional argument types
#10
Labels
enhancement
New feature or request
flags.Value
interface for positional argument types
#10
Currently, the code parsing the positional argument words (strings) onto their type is directly taken from
the old go-flags code. While not working badly, the range of types supported is largely inferior to the range
of types supported for flags.
This is not really hard, and should not represent a huge workload.
I just realized this would be better toward the end of my work.
flags.Value
type for generating positional arguments slots and parsing words onto them.The text was updated successfully, but these errors were encountered: