The Open CLI Framework
Create command line tools your users love
oclif is an open source framework for building a command line interface (CLI) in Node.js and Typescript. Create CLIs with a few flags or advanced CLIs that have subcommands. oclif makes it easy for you to build CLIs for your company, service, or your own development needs.
Get Started →
$ npx oclif generate mynewcli$ ./bin/run hello worldhello world! (./src/commands/hello/world.ts)
⚡Ready to go
Scaffold a fully functional CLI to get started quickly. oclif packages our years of experience into out-of-the-box functionality for argument parsing, command testing, and auto-documentation of CLI features.
oclif is open source and free to use or modify. We think you’ll love it too and you can also help make it better.
You or your users can easily extend your CLI functionality to meet custom needs using plugins. Plugins are modular and shareable, encouraging reuse.