TextArgument backed ListArgument
Minenash opened this issue · comments
Jakob commented
Description
Currently, the ListArgument uses GreedyStringArgument as the backbone, and while it has the advantage of not needing quotes for anything not alphanumeric_, it limits commands to a maximum of 1 list arguments.
It would be nice to also have a TextArgument backed version, that would allow multiple lists, with the cost of quotes, unless they use _ as the delimiter.
Expected code
The simplest would probably be changing the .build()
to .buildGreedy()
an .buildText()
, with .build()
being an alias to the greedy one to keep compatibility
Extra details
No response
Jorel Ali commented
Implemented for 8.6.0's release.