gulpjs / liftoff

Launch your command line tool with ease.
MIT License
840 stars 52 forks source link

Handle process.argv #132

Open phated opened 4 months ago

phated commented 4 months ago

Liftoff should handle process.argv. Currently, the dance between yargs and Liftoff in gulp-cli is annoying and a little problematic. If Liftoff just managed the args, it would probably make for a nicer integration.

We could keep using yargs, but should explore https://nodejs.org/docs/latest/api/util.html#utilparseargsconfig since it would remove a dependency.