Salesforce developers have contributed much to the open-source community. Among their many contributions is an important, but perhaps lesser-known, project named oclif. The Open CLI Framework was announced in early 2018 and has since grown to become the foundation for the Salesforce CLI and the Heroku CLI.
In this post, we will provide a brief overview of oclif, and then we’ll walk through how to build a simple CLI with oclif.