From the course: GraphQL for Enterprise Developers

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Using Rover commands

Using Rover commands

- [Narrator] Now that we have our basic supergraph set up, let's go ahead and take a look at some of the commands that we can use with Rover to work better with schemas on a team. So the first thing I want to do here is I want to go to my settings. So I'll go up here where it says your initials, Personal Settings. I'll go to the API key. I'll create a new key and you can call this whatever you'd like to. So I'm just going to call it workshop. Grab it, copy it here, and then what we'll do is we're going to come to our terminal and type rover config auth. This will ask for our API key so I'm going to paste that in. It doesn't look like anything has been pasted, but it has. So just hit Return and you should save it. So now if I say rover config whoami, this is going to give us that information then. We can run some other commands as well. So I could say rover subgraph list. Now the other argument that this is going to look for is our graph ref. Think of the graph ref as being like the ID…

Contents