Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support JSON output for fauna schema status #581

Open
jrodewig opened this issue Jan 23, 2025 · 2 comments
Open

Support JSON output for fauna schema status #581

jrodewig opened this issue Jan 23, 2025 · 2 comments
Assignees

Comments

@jrodewig
Copy link
Contributor

We should support JSON or a similar machine-readable output for the fauna schema status command. This would make it easier to use the output of the command in scripts.

Relates to #580

@ecooper ecooper self-assigned this Jan 23, 2025
@ecooper
Copy link
Contributor

ecooper commented Jan 23, 2025

Do we know what we'd expect the JSON structure to be? Is --json just a pass-through of the schema APIs or something more refined?

@jrodewig
Copy link
Contributor Author

jrodewig commented Jan 23, 2025

A pass-through of the Get staged schema status endpoint's response would suffice IMO.

In the requests I've seen, users want to programmatically access the status field without doing text manipulation, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants