CLI reference
The commands Forge ships with, for local development and pipeline control.
Forge sites are ordinary Astro projects, so the standard Astro commands all work, plus a few Forge helpers.
Project commands
| Command | What it does |
|---|---|
npm run dev | Start the dev server at localhost:4321 |
npm run build | Type-check, then build to dist/ |
npm run preview | Preview the production build locally |
npm test | Run the Vitest suite |
Forge helpers
| Command | What it does |
|---|---|
node scripts/init.mjs | Generate forge.config.yml |
node scripts/generate-assets.mjs | Render branded placeholder images |
bash scripts/bootstrap-labels.sh | Create the issue label scheme |
Pipeline control
Kick a stage manually instead of waiting for its cron:
gh workflow run triage.yml --repo <owner/name>
gh workflow run execute.yml --repo <owner/name>