@jrmmendes/create-cli-app
v0.1.0
Published
Create a prodution ready CLI with Bun, Typescript, Commander and Ink
Readme
create-cli-app
A CLI app template built with Bun, TypeScript, Commander, and React Ink.
Features
- Bun: Ultra-fast JavaScript runtime for building and bundling.
- TypeScript: Strongly typed programming language for better developer experience.
- Commander: Minimal and flexible Node.js command-line interface library.
- React Ink: Build beautiful CLI interfaces using React components.
Getting Started
Prerequisites
Ensure you have the following installed:
- Bun (latest version)
- Node.js (optional, if Bun is not globally installed)
Installation
Clone the repository:
git clone [email protected]/jrmmendes/create-cli-app.git cd create-cli-appInstall dependencies:
bun install
Usage
Build the project:
bun run buildRun the CLI:
bun run startRun the tests:
bun run test
[!NOTE] If you want to have coverage reports in HTML format, install lcov globally:
# use apt, homebrew, or your default OS package manager dnf in lcov
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
