Skip to content

Commit fbef655

Browse files
Build ingest management workflow into TUI (#21)
1 parent 0811079 commit fbef655

4 files changed

Lines changed: 567 additions & 13 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Web app: `http://localhost:5173`
3535
- `bun run check`: run Ultracite checks
3636
- `bun run fix`: apply Ultracite fixes
3737
- `bun run seed:vercel-deployment -- --vercel-url <deployment-url>`: derive Convex preview/prod deployment from a Vercel URL, seed Anker ingest data, and print a quality summary
38+
- `bun run --cwd apps/tui start`: interactive ingest manager TUI (discover/seed/report)
3839

3940
## Ingest Notes
4041

apps/tui/README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# cable-intel TUI
22

3+
Terminal manager for ingest operations (discover URLs, run seed ingest, and
4+
view quality summary) without needing an admin web page.
5+
36
## Setup
47

58
```bash
@@ -8,6 +11,21 @@ bun install
811

912
## Run
1013

14+
Interactive mode:
15+
16+
```bash
17+
bun run --cwd apps/tui start
18+
```
19+
20+
Watch mode:
21+
22+
```bash
23+
bun run --cwd apps/tui dev
24+
```
25+
26+
Non-interactive examples:
27+
1128
```bash
12-
bun run dev
29+
bun run --cwd apps/tui start --vercel-url https://www.cableintel.com --seed-max 20 --yes
30+
bun run --cwd apps/tui start --deployment-name enduring-partridge-214 --report-only --yes
1331
```

apps/tui/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"type": "module",
55
"module": "src/index.tsx",
66
"scripts": {
7-
"dev": "bun run --watch src/index.tsx"
7+
"start": "bun src/index.tsx",
8+
"dev": "bun --watch src/index.tsx"
89
},
910
"dependencies": {
1011
"@babel/core": "^7.29.0",

0 commit comments

Comments
 (0)