Cliffy
A TypeScript-first, runtime-agnostic command-line toolkit for building complex CLIs — featuring a command framework, argument parser, interactive prompts, tables, ANSI utilities, and more.
Install / Use
/learn @c4spar/CliffyREADME
Cliffy is a TypeScript-first, runtime-agnostic command-line toolkit for building complex CLIs with Deno, Node and Bun.
Documentation
The documentation is available on cliffy.io.
Packages
| Package | Description | Version | Downloads | Runtime |
| -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
| ansi | Chainable ansi escape sequences. | |
| Deno, Node, Bun |
| command | Create complex and type-safe commandline tools with build-in input validation, auto generated help, shell completions and more. |
|
| Deno, Node, Bun |
| flags | Parse command line arguments (used by the command module). |
|
| Deno, Node, Bun |
| keycode | Parser ansi key codes. |
|
| Deno, Node, Bun |
| keypress | Listen to keypress events with Promise, AsyncIterator and EventTarget APIs. |
|
| Deno, Node, Bun |
| prompt | Create simple and powerful interactive prompts. |
|
| Deno, Node, Bun |
| table | Create cli tables with border, padding, nested tables, etc... |
|
| Deno, Node, Bun |
| testing | Experimental helper functions for testing. |
|
| Deno |
Contributing
Any kind of contribution is welcome! Please take a look at the contributing guidelines.
