A bootstrapper for creating a cli application with Node.
I generally use a template when developing CLI applications for myself. I want to share that same template with you, in an easy to use bootstrapper that mirrors the simplicity of starting a new application with create-react-app. Thus, create-cli-application was born.
- Node (>= v10.0.0)
- NPM
- MacOS
- Linux
- Windows
npm install -g create-cli-application
create-cli-application cool-app-name
By deafault, create-cli-application will create your application as a JavaScript project. You can pass the --typescript
flag to create a TypeScript project instead.
create-cli-application cool-app-name --typescript
Want support for an additional language? Feel free to open a new issue.
You can choose to use the application in an interactive mode by passing the flag --interactive
.
- @sentry/node - Sentry is cross-platform application monitoring, with a focus on error reporting.
- boxen - Create boxes in the terminal.
- chalk - Terminal string styling done right.
- clear - Clear the terminal screen if possible.
- commander - Node.js command-line interfaces made easy.
- configstore - Easily load and persist config without having to think about where and how.
- fs-extra - Node.js: extra methods for the fs object like copy(), remove(), mkdirs().
- inquirer - A collection of common interactive command line user interfaces.
- ora - Elegant terminal spinner.
- pickitt - When you need a computer to just pick it, reach for Pickitt!
- semver - The semver parser for node (the one npm uses).
- TypeScript - A typed superset of JavaScript that compiles to plain JavaScript.
- update-notifier - Update notifications for your CLI app.
- validate-npm-package-name - Is the given string an acceptable npm package name?
- Alex Lee - Application Developer
- Compiler Choice
- Formatter Choice
- Linter Choice
- Menu Styling
- Some inspiration from the developers behind create-react-app.
- Martin Rosenberg - Beta Tester and Dev Friend :)
- Craig Lam - Beta Tester and Dev Friend :)