https://github.com/pnstack/template-nodejs-cli-tui
Monorepo for building CLI (Commander) and TUI (Ink) apps with shared core logic.
https://github.com/pnstack/template-nodejs-cli-tui
agent cli commander ink nodejs skeleton template tui
Last synced: 21 days ago
JSON representation
Monorepo for building CLI (Commander) and TUI (Ink) apps with shared core logic.
- Host: GitHub
- URL: https://github.com/pnstack/template-nodejs-cli-tui
- Owner: pnstack
- License: mit
- Created: 2026-02-18T11:39:00.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-02-18T11:47:30.000Z (4 months ago)
- Last Synced: 2026-02-18T15:53:34.766Z (4 months ago)
- Topics: agent, cli, commander, ink, nodejs, skeleton, template, tui
- Language: TypeScript
- Homepage:
- Size: 62.5 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
pnpm install
```
## Build
```bash
pnpm run build
```
## Run CLI
```bash
node packages/cli/dist/index.js hello YourName
node packages/cli/dist/index.js ui YourName
```
## Dev (watch mode)
```bash
pnpm run dev
```
## Lint / Format
```bash
pnpm run lint
pnpm run format
```
## Contributing
Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this project.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.