Skip to content

Commit ff11091

Browse files
RandomOscillationsclaude
authored andcommitted
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/commands.md

Lines changed: 140 additions & 153 deletions
Large diffs are not rendered by default.

extropy/cli/app.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,6 @@ def main_callback(
168168
estimate,
169169
results,
170170
config_cmd,
171-
inspect,
172171
query,
173-
report,
174-
export,
175172
chat,
176-
migrate,
177173
)

extropy/cli/commands/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,8 @@
1111
estimate,
1212
results,
1313
config_cmd,
14-
inspect,
1514
query,
16-
report,
17-
export,
1815
chat,
19-
migrate,
2016
)
2117

2218
__all__ = [
@@ -30,10 +26,6 @@
3026
"estimate",
3127
"results",
3228
"config_cmd",
33-
"inspect",
3429
"query",
35-
"report",
36-
"export",
3730
"chat",
38-
"migrate",
3931
]

extropy/cli/commands/export.py

Lines changed: 0 additions & 112 deletions
This file was deleted.

0 commit comments

Comments
 (0)