node-gh / gh

(DEPRECATED) GitHub CLI made with NodeJS. Use the official https://cli.github.com/ instead.
http://nodegh.io
Other
1.71k stars 217 forks source link

Further abstract options parsing #614

Closed protoEvangelion closed 4 years ago

protoEvangelion commented 5 years ago

We should further abstract options parsing by using a package like: https://github.com/tj/commander.js, http://yargs.js.org/docs/, or https://oclif.io/

This will reduce overhead of maintaining low level options parsing, the help file, the version file & possibly plugin integration.

Also it will reduce points of failure as we can also introduce an integration test for whichever tool we choose.

protoEvangelion commented 4 years ago

Need to break this work up into chunks as it will be a huge refactor.