[READ-ONLY] Mirror of https://github.com/bombshell-dev/args. <1kB CLI flag parser
args args-parser cli command-line command-line-parser node
Something went wrong. Try again.
Treat boolean values as positionals master
Here changed behavior of booleans to not "swallow" positionals after them. For example `curl --get http://my-url.com` where --get is boolean I need to get `{ get: true, _: ['http://my-url.com'] }`. Node's parseArgs works the same way.
Author Bogdan Chadkin Date (Dec 31, 2024, 7:13 AM UTC) Commit bfd84690 bfd84690ec9025243e8c3e543241ce855f4bbf82 Parent abc47f87 abc47f8738eca012a27829e3a07593dcc35e4858