Skip to content

Instantly share code, notes, and snippets.

@taras
Last active October 14, 2022 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taras/bae70177aabeba269342c7ab715b60db to your computer and use it in GitHub Desktop.
Save taras/bae70177aabeba269342c7ab715b60db to your computer and use it in GitHub Desktop.
Examples of using GraphQL Schema and Operations to define CLI from the server
query EnvironmentsView($cursor: String) {
@table
environments(first: 10, after: $cursor) {
nodes {
... on Environment {
name
namespace
deployment {
name
createdBy
createdAt @format(type: "date", preset: DATE_SHORT)
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment