Skip to content

Add support for JSON output mode #6

@jamiebrynes7

Description

@jamiebrynes7

It would be very useful if the CLI supported a --json flag to format stdout in a way that scripts/machines can easily parse. At the moment, you have to parse the CLI's output which is quite fragile.

For example:

$ ob sync-list-local --json

Would output something like:

[
	{
		"vault_id": "abdc...",
		"path": "/Users/jamiebrynes7/...",
		"host": "...",
	}
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions