mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
Public entry points (`execute`, `run_install`, `run_install_github_command`, `run_install_inner`, `run_install_github_inner`) now take `&CommandContext` instead of a 4-tuple of `(cli, cli_layer, process_local_json, printer)`. Extract cli/printer/json from the context once at the top of each. The nested doctor invocation inside run_install_inner previously built a fresh `ResolvedBaseContext::from_disk(...).to_context()` with `process_local_json = false`. Doctor only reads the resolved output format (`base_ctx.json_output()`), not the invocation flag, so passing the parent ctx through is behaviorally equivalent and avoids a second disk load. main.rs drops the `cli_settings` local entirely — no remaining command needs it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||