:icecream: Powerful software development experience and management. Enhancing @tc39 JS, @denoland and @nodejs, because we need a bit of magic. :sparkles: You can think of it as Cargo for the JavaScript ecosystem.
Currently it is causing toFlags to stringify the argv._ which includes the "current command" and this makes problems.
For example, when running hela build the argv (first argument) that is passed to the .action has argv._ === ['build'], with above update it will be empty array. For getting args, flags, argv and etc, you can access the bigger picture from the second passed argument, which looks like the following
update
.parse
method to(remove the first argument if not in single mode)
Currently it is causing
toFlags
to stringify theargv._
which includes the "current command" and this makes problems.For example, when running
hela build
theargv
(first argument) that is passed to the.action
hasargv._ === ['build']
, with above update it will be empty array. For getting args, flags, argv and etc, you can access the bigger picture from the second passed argument, which looks like the following