mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-11-07 09:45:36 +00:00
fix(cli): keep total-failure JSON errors parseable
Remove obsolete unsupported-import diagnostics and defer comparison warnings until partial success. Preserve per-symbol diagnostics and quiet behavior when results remain available.
This commit is contained in:
parent
301e52ca83
commit
b4dcfceef6
3 changed files with 20 additions and 30 deletions
|
|
@ -137,6 +137,7 @@ CLI flags > environment variables > config file > defaults
|
|||
- Table mode: human-readable error on stderr
|
||||
- JSON mode: `{"error": true, "code": "...", "message": "..."}`
|
||||
- Exit code 0 on success, non-zero on failure
|
||||
- A totally failed `stocks compare` emits one structured error in JSON mode; per-symbol warnings are retained for partial success, not printed ahead of a total-failure error.
|
||||
|
||||
## CLI Output and Offline Cache
|
||||
- `version`, `cache info`, `cache clear`, and `ownership resolve map|merge` emit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue