Oclif

Build command-line tools the Heroku way

Language: TypeScriptCategory: CLIFirst released: 2018Created by: Salesforce / HerokuLicense: MIT

Oclif is an open-source framework for building extensible command-line tools in TypeScript and JavaScript. Created by Heroku and now maintained by Salesforce, it provides a structured, plugin-based architecture for building single-command or multi-command CLIs with built-in flags, arguments, help generation, and testing utilities. Oclif powers tools like the Heroku CLI and Salesforce CLI, bringing enterprise-grade CLI patterns to Node.js.

Links

Key Features

Plugin ArchitectureFlag & Argument ParsingAuto-Generated HelpTypeScript FirstBuilt-In Testing