hasura / hasura/graphql-engine
JSON output option for Hasura CLI
Open
c/cli
k/enhancement
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Is your proposal related to a problem?
I want to query what migrations are applied and parse the output in a shell script. Can do this with the current format but a) that can change any time so it's brittle and b) it's not very ergonomic.
### Describe the solution you'd like
a `--output-format` or similar flag where I can choose to get the hasura cli results as an easily parseable JSON object or something.
### Describe alternatives you've considered
Querying the Hasura API myself somehow - though I actually don't see a GraphQL API for query migrations, so maybe not?
Contributor guide
Assessment
This issue has not been assessed yet.