A lightweight CLI tool that discovers and runs commands across your projects: no config, no setup, just dawnfall and you're running.
Important
Dawnfall is local-first and free. No servers, no accounts, no telemetry. Everything runs on your machine.
Warning
Dawnfall is under active development. Flags and output may change. Not recommended for production CI pipelines yet.
You work on projects with package.json scripts, pyproject.toml commands, deno.json tasks, or Cargo.toml scripts. Remembering which project has which command is a hassle. cd into each directory and run npm run build manually? There's a better way.
Dawnfall scans your entire project tree, discovers every runnable command, and presents them in an interactive TUI. Pick what you want, choose a mode: parallel, sequential, or copy to clipboard: and let Dawnfall handle the rest. No more digging through package.json files.
🔍 Auto-discovery: scans package.json, pyproject.toml, deno.json, composer.json, Cargo.toml, project.godot — plugin-driven, easy to extend⚡ Parallel & Sequential: run commands all at once or one by one📋 Copy modes: copy commands as multi-line list or single chain (shell-aware separators, directory prefix for monorepos)📦 Cache:--use-cachesaves scan results for instant re-runs📂 Monorepo aware: scans every package in the tree and exposes turbo.json pipeline/tasks🛡️ Destructive guard: confirms before running clean/reset/delete commands🌐 Remote repos: clone + scan GitHub repos on the fly (dawnfall --remote owner/repo)⚙️ Configurable:.dawnfall/config.jsonfor cache settings and.dawnfall/profiles.jsonfor launch profiles
npm install -g dawnfallThen run from any project:
cd my-project
dawnfallnpx dawnfallgit clone https://github.com/divyanshudhruv/dawnfall.git
cd dawnfall
npm install
npm run build
npm linkcd my-project
dawnfall # if installed globally
npx dawnfall # without installingPick commands from the interactive list, choose a mode, and go.
| Flag | What it does |
|---|---|
dawnfall |
Scan + select + run interactively |
dawnfall --use-cache |
Load/save scan results from cache |
dawnfall --fresh |
Force full re-scan |
dawnfall --no-write |
Run without creating any files or directories (ephemeral) |
dawnfall --json |
Output results as JSON |
dawnfall --version / -v |
Show version |
dawnfall --help / -h |
Show help |
dawnfall --remote owner/repo |
Clone GitHub repo + scan + show commands (view-only, ephemeral) |
dawnfall clean |
Delete the .dawnfall directory (cache, workflow, profiles) |
For the full reference, see docs/commands.md.
flowchart TD
A[Start] --> B{Cache?}
B -->|Yes, fresh| C[Load from .dawnfall/cache.json]
B -->|No/stale| D[Run scanners]
D --> E[Save to cache]
C --> F[Select commands]
E --> F
F --> G{Mode}
G -->|Parallel| H[Spawn all at once]
G -->|Sequential| I[Run one by one]
G -->|Copy listed| J[Clipboard: multi-line]
G -->|Copy chained| K[Clipboard: && chain]
H --> L[Execute]
I --> L
J --> L
K --> L
L --> M[Show results]
sequenceDiagram
participant U as dawnfall --remote owner/repo
participant T as Temp dir
participant G as GitHub
participant S as Scanners
G-->>T: git clone
T->>S: scan cloned repo
S->>U: show available commands
U->>T: delete temp dir
.dawnfall/config.json: enable cache by default and set its TTL.dawnfall/profiles.json: define launch profiles to skip command selection entirelydawnfall --use-cache: use for fast re-runs; combine with--freshto force re-scandawnfall --json: pipe output to other tools:dawnfall --json | jq '.[].name'dawnfall clean: delete the.dawnfalldirectory for a clean slate; combine with--fresh(dawnfall clean && dawnfall --fresh) to skip profile and workflow re-run prompts and force a full re-scan- Background processes: in Parallel mode, long-running commands (dev, watch, serve) auto-background and are shown as
(background); in Sequential mode they are skipped as(long-running) NO_COLOR: setNO_COLOR=1to disable colored output- Monorepos: every package in the tree is scanned; turbo.json pipeline and tasks appear as runnable commands
- Remote repos: pass
--remote owner/repoto clone and scan without leaving the terminal. It is view-only: it lists the repo's available commands but never runs or selects them, and never touches your cache, workflow, or recent-projects list. The temp clone is deleted when Dawnfall exits, including on Ctrl+C
git clone https://github.com/divyanshudhruv/dawnfall.git
cd dawnfall
npm installBuild and test:
npm run build # build the CLI (tsup)
npm test # run vitest test suite
npm run typecheck # TypeScript type checking
npm run lint # Biome lint
npm run format # Biome format
npm run dev # watch mode for developmentBefore contributing, see CONTRIBUTING.md.
The test suite creates temp directories for filesystem tests: no clean-up needed.
