A collection of beautiful, modern, and essential components for building next-generation interactive command-line applications.
This project was born out of a simple frustration: building great CLI experiences should be easier. While there are many amazing libraries out there, some fundamental pieces are often missing or outdated. Our goal is to create a suite of lightweight, zero-dependency, and fully-tested components that just work.
This is a monorepo containing the following packages:
| Package | Description | Version |
|---|---|---|
@cli-prompts/multiline |
A flicker-free, feature-rich multiline text input. The one you've always wanted. | |
| ...more to come! |
- Modern: Built with TypeScript and modern architecture. No legacy code.
- Lightweight: Zero runtime dependencies. Keep your
node_modulesslim. - Developer Experience: Simple APIs, great documentation, and easy to integrate.
- User Experience: Smooth, flicker-free, and intuitive interfaces for the end-user.
- Battle-Tested: High test coverage to ensure reliability.
This project is managed as a pnpm monorepo.
-
Clone the repository:
git clone https://github.com/PRASSamin/cli-prompts.git cd cli-prompts -
Install dependencies:
pnpm install
-
Run tests: To run the test suite for all packages:
pnpm test -
Build all packages: To build all packages for publishing:
pnpm build
We'd love for you to contribute! Please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.