hasura / hasura/graphql-engine

JSON output option for Hasura CLI

Open
#9,738 1 comment 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.