Pastel
Next.js-like framework for CLIs made with Ink
Pastel is a framework for building rich command-line applications using React (via Ink), offering a Next.js-like developer experience for CLIs. Instead of wiring up argument parsers, help output, and subcommands manually, you structure your CLI as a file-based command tree and focus on writing components that render the interface. Pastel parses and validates command options using Zod schemas, giving you typed, declarative option definitions that also power automatic help messages. It wraps up common CLI concerns such as argument parsing, routing to the appropriate command component, validation, and error handling, so you can concentrate on the command’s behavior and UI. ...