Skip to content

pnstack/template-nodejs-cli-tui

Repository files navigation

CLI & TUI Monorepo Skeleton

Monorepo for building CLI (Commander) and TUI (Ink) apps with shared core logic.

Structure

  • packages/cli: CLI entry using commander.
  • packages/tui: TUI components using ink (React-based).
  • packages/core: Shared logic & utilities.

Prerequisites

  • Node.js ≥ 18.18
  • pnpm ≥ 9

Install

pnpm install

Build

pnpm run build

Run CLI

node packages/cli/dist/index.js hello YourName
node packages/cli/dist/index.js ui YourName

Dev (watch mode)

pnpm run dev

Lint / Format

pnpm run lint
pnpm run format

Contributing

Please see CONTRIBUTING.md for details on how to contribute to this project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Monorepo for building CLI (Commander) and TUI (Ink) apps with shared core logic.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors