Skip to content

Conversation

@mattatcha
Copy link

Summary

Adds linearis graphql command for executing custom GraphQL queries against the Linear API.

Usage

# Inline query
linearis graphql '{ viewer { id name } }'

# From file
linearis graphql --file query.graphql

# With variables
linearis graphql 'query($id: String!) { issue(id: $id) { title } }' --vars '{"id": "uuid"}'

# From stdin
echo '{ viewer { id } }' | linearis graphql

Closes #31

Adds `linearis graphql` command for executing custom GraphQL queries
against the Linear API. Supports inline queries, file input (--file),
stdin piping, and variables (--vars).

Closes czottmann#31
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

Successfully merging this pull request may close these issues.

Feature: Add raw GraphQL query command

1 participant