5 ms·
Interesting. TIL about the Open CLI framework that they all seem to be moving to: https://oclif.io/ https://oclif.io/
by phaedryx 4y ago
Interesting. TIL about the Open CLI framework that they all seem to be moving to: https://oclif.io/ https://oclif.io/
- meagher 4y agoCAC also quite good: https://github.com/cacjs/cac https://github.com/cacjs/cac. Used by Vite and many others.
- swyx 4y agoits from heroku! we even did a conference once! https://www.heroku.com/events/2019/oclifconf https://www.heroku.com/events/2019/oclifconf (and i gave one of my most random talks ever https://www.youtube.com/watch?v=1_w1YWCHXFg https://www.youtube.com/watch?v=1_w1YWCHXFg)
- xavdid 4y agoIt's from Salesforce/Heroku. The documentation is definitely lacking, but it's battle-tested and under fairly active development. I moved the Zapier CLI to oclif a few years ago over a bespoke version, since it handles a lot of the nitty-gritty of displaying text in terminals. It's a pretty nice setup and allowed us to focus on the important things.
- skipants 4y agoIt's great too -- spiked out a CLI using it in my last company. It was really easy to set up and program in.
- prng2021 4y agoSame here. I wonder why it hasn't gotten more adoption.