Commit ff11091
refactor(cli): consolidate output commands into results + query
Reduce CLI surface from 7 overlapping commands to 2 focused ones:
- `results` becomes a sub-app with subcommands: summary (default),
timeline, segment <attr>, agent <id>. Absorbs `report run`
functionality via agent mode JSON output.
- `query` absorbs `export` (agents/edges/states with --to for JSONL),
`inspect` (summary/network/network-status), and gains study folder
auto-detection (no more --study-db flag). SQL argument is now
positional.
Delete: report.py, export.py, inspect.py, migrate.py (dead code).
Closes #72
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c5b9598 commit ff11091
10 files changed
Lines changed: 838 additions & 906 deletions
File tree
- docs
- extropy/cli
- commands
- tests
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | 171 | | |
173 | | - | |
174 | | - | |
175 | 172 | | |
176 | | - | |
177 | 173 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | 15 | | |
19 | | - | |
20 | 16 | | |
21 | 17 | | |
22 | 18 | | |
| |||
30 | 26 | | |
31 | 27 | | |
32 | 28 | | |
33 | | - | |
34 | 29 | | |
35 | | - | |
36 | | - | |
37 | 30 | | |
38 | | - | |
39 | 31 | | |
This file was deleted.
0 commit comments