ryanwersal / abberline

Abberline helps investigate code to find unexpected coupling and other metrics
MIT License
0 stars 0 forks source link

Stub out node command line tool #1

Open ryanwersal opened 5 years ago

ryanwersal commented 5 years ago

For this project, we're looking to have a modern CLI using modern Node libraries, tooling, and language features.

To me (totally up for debate/discussion), this means:

And probably more.

ddirkson commented 5 years ago

Various reading:

ddirkson commented 5 years ago

More reading, this one probably contains the best content so far https://www.codementor.io/mattgoldspink/nodejs-best-practices-du1086jja

ddirkson commented 5 years ago

Random thoughts and discoveries: Seemingly most popular testing framework options: jest, mocha, jasmine CLI arg parsing: commander.js, yargs, minimist (minimist seems meh) Code formatting: prettier (like black for python https://prettier.io/)

ryanwersal commented 4 years ago

A new "awesome list" was released for Node CLI best practices and I've tinkered with oclif and ink to success so I'm inclined to go that route.

Definite 👍 for using Jest for testing and Prettier for formatting.