Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 727 Bytes

cheatsheet.md

File metadata and controls

41 lines (29 loc) · 727 Bytes

Supergraphs with Rover CLI

Rover CLI

Here are some common commands that you'll use with the Rover CLI.

Installing the Rover CLI

curl -sSL https://rover.apollo.dev/nix/latest | sh

Authenticating with Rover

rover config auth

Once you run this, you'll paste your API Key!

rover config whoami

Checking a Schema

rover subgraph check YOUR_GRAPH_REF \
  --routing-url https://snowtooth-mountain-lifts.herokuapp.com/ \
  --schema ./lifts-schema.graphql \
  --name lifts

Publishing a Schema

rover subgraph publish YOUR_GRAPH_REF \
  --routing-url https://snowtooth-mountain-lifts.herokuapp.com/ \
  --schema ./lifts-schema.graphql \
  --name lifts