Skip to content

ov init --json emits human-readable output before the JSON payload #135

@RogerNavelsaker

Description

@RogerNavelsaker

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 --json

Observed 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions