-
-
Notifications
You must be signed in to change notification settings - Fork 202
ov init --json emits human-readable output before the JSON payload #135
Copy link
Copy link
Open
Description
Summary
ov init --json writes human-readable log lines before the final JSON object, which makes --json mode unreliable for machine consumers.
Reproduction
Run:
ov init -y --jsonObserved output begins with lines like:
Initializing overstory for "<repo>"...
...
Bootstrapping ecosystem tools...
...
and only then prints a JSON object on the last line.
Expected
When --json is passed, stdout should contain only valid JSON so callers can parse the command output directly without tail-line workarounds.
Why this matters
--json implies machine-readable output. Right now scripts have to special-case ov init by extracting the last line instead of parsing stdout as JSON.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels