-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
Mundo edited this page Apr 8, 2026
·
2 revisions
| Command | What it does |
|---|---|
pnpm news |
Run the GitHub trending pipeline (scrape → dedup → curate → Telegram → save) |
pnpm start |
Run KPI pipeline (GitHub fetch → manual input → diary report) |
pnpm cleanup |
Run stale data deletion only (used by crontab/Actions) |
pnpm dev |
Start long-running daemon (fires jobs via node-cron) |
| Command | What it does |
|---|---|
pnpm run setup |
Create all database tables (one-time) |
pnpm seed-mock |
Seed expired mock users into company DB |
| Command | What it does |
|---|---|
pnpm tsc |
TypeScript type check (no emit) |
pnpm format |
Auto-format all TypeScript files with Prettier |
pnpm format:check |
Check formatting without modifying files |
The entry point (src/index.ts) supports these flags:
| Flag | Equivalent | Description |
|---|---|---|
--setup |
pnpm run setup |
Initialize database tables |
--cleanup |
pnpm cleanup |
Run cleanup agent only |
--run |
pnpm start |
Run interactive KPI jobs |
--news |
pnpm news |
Run GitHub trending pipeline |
| (none) | pnpm dev |
Start the cron scheduler daemon |