Skip to content

makoctl: re-introduce JSON output #580

@emersion

Description

@emersion

makoctl used to output a (weird) JSON when it was backed by busctl. This was useful for processing by other tools.

Users can still use busctl manually to get that JSON, but it would be easier to provide support inside makoctl. The shape of the JSON can be improved too.

The sd-json library can be used for JSON, or just basic stdio since we're just encoding JSON (not decoding).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions