Open drawveloper opened 4 years ago
But that would make CAC behave differently on different platform.
Anyways I plan to write our own cli parser instead of using mri
, so I can try to make it as close to Deno's as possible.
Currently the only difference I noticed is that Deno parses -n5
to {n:5}
while we parse it to {n:true,5:true}
.
Issue Type
Info
I see this project currently uses
mri
(https://www.npmjs.com/package/mri) to parse the arguments.I suggest we discuss using the standard
flags
(https://deno.land/std/flags/) module when running on Deno so it behaves consistently with other cli's created in deno.