Commit 4d6ea48
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 6b98206 commit 4d6ea48
10 files changed
Lines changed: 845 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 | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
150 | 157 | | |
151 | 158 | | |
152 | 159 | | |
| |||
161 | 168 | | |
162 | 169 | | |
163 | 170 | | |
164 | | - | |
165 | 171 | | |
166 | | - | |
167 | | - | |
168 | 172 | | |
169 | | - | |
170 | 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