Closed Schniz closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/schniz/clio-ts/BYxrD2qYDc9yCHbboEvVrX1ozr7p
✅ Preview: https://clio-ts-git-support-rest-parameters-schniz.vercel.app
allow the ability to catch all the arguments, not just positional. This will allow having a CLI that works like so:
instead of:
The problem is that with the current implementation of the parser, options and circuitbreakers look "everywhere" within the node array so the following:
will be the same as:
Eventually this needs to be taken care of. A flag can be global, but the default behavior should be local to the declaration. CLI commands form a tree and we need to make sure we don't have global searches by default.