cli-creation

Installation
SKILL.md

CLI Creation

Overview

Create runnable DreamCLI starter CLIs and extend them with typed command patterns. Use this skill for user-facing app code, not DreamCLI framework internals.

Quick Start

  1. Choose a starter mode:
    • single: one root command (cli(name).default(command)).
    • multi: grouped command surface (group('...').command(...)).
  2. Generate starter files:
    • python scripts/scaffold_cli.py --name mycli --mode single --out .
    • Tests are generated by default; add --no-test only when explicitly requested.
    • Test template is auto-detected: Bun without Vitest uses bun:test; otherwise a Vitest template is generated.
  3. Run and validate generated files:
    • Use the printed path from the scaffolder output, for example bun ./mycli.ts --help.
    • Run the generated test unless --no-test was used.
Installs
4
Repository
kjanat/dreamcli
GitHub Stars
1
First Seen
Apr 8, 2026