Skip to content

Commit 3ba7f52

Browse files
authored
Fixing Command (#816)
* removing --studio from all commands
1 parent 814fba4 commit 3ba7f52

File tree

7 files changed

+11
-12
lines changed

7 files changed

+11
-12
lines changed

website/pages/en/cookbook/arweave.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Writing the mappings of an Arweave Subgraph is very similar to writing the mappi
155155
Once your subgraph has been created on your Subgraph Studio dashboard, you can deploy by using the `graph deploy` CLI command.
156156

157157
```bash
158-
graph deploy --studio --access-token <your-access-token>
158+
graph deploy --access-token <your-access-token>
159159
```
160160

161161
## Querying an Arweave Subgraph

website/pages/en/cookbook/cosmos.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Once your subgraph has been created, you can deploy your subgraph by using the `
203203
Visit the Subgraph Studio to create a new subgraph.
204204

205205
```bash
206-
graph deploy --studio subgraph-name
206+
graph deploy subgraph-name
207207
```
208208

209209
**Local Graph Node (based on default configuration):**

website/pages/en/cookbook/near.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ The node configuration will depend on where the subgraph is being deployed.
194194
### Subgraph Studio
195195

196196
```sh
197-
graph auth --studio
198-
graph deploy --studio <subgraph-name>
197+
graph auth
198+
graph deploy <subgraph-name>
199199
```
200200

201201
### Local Graph Node (based on default configuration)

website/pages/en/deploying/deploy-using-subgraph-studio.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ In order to be supported by Indexers on The Graph Network, subgraphs must:
7070
Once your subgraph has been created in Subgraph Studio, you can initialize its code through the CLI using this command:
7171

7272
```bash
73-
graph init --studio <SUBGRAPH_SLUG>
73+
graph init <SUBGRAPH_SLUG>
7474
```
7575

7676
You can find the `<SUBGRAPH_SLUG>` value on your subgraph details page in Subgraph Studio, see image below:
@@ -86,7 +86,7 @@ Before you can deploy your subgraph to Subgraph Studio, you need to log into you
8686
Then, use the following command to authenticate from the CLI:
8787

8888
```bash
89-
graph auth --studio <DEPLOY KEY>
89+
graph auth <DEPLOY KEY>
9090
```
9191

9292
## Deploying a Subgraph
@@ -98,7 +98,7 @@ Once you are ready, you can deploy your subgraph to Subgraph Studio.
9898
Use the following CLI command to deploy your subgraph:
9999

100100
```bash
101-
graph deploy --studio <SUBGRAPH_SLUG>
101+
graph deploy <SUBGRAPH_SLUG>
102102
```
103103

104104
After running this command, the CLI will ask for a version label.

website/pages/en/developing/creating-a-subgraph.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ graph init \
6666
The following command initializes a new project from an example subgraph:
6767

6868
```sh
69-
graph init --studio <SUBGRAPH_SLUG> --from-example=example-subgraph
69+
graph init <SUBGRAPH_SLUG> --from-example=example-subgraph
7070
```
7171

7272
- The [example subgraph](https://github.com/graphprotocol/example-subgraph) is based on the Gravity contract by Dani Grant, which manages user avatars and emits `NewGravatar` or `UpdateGravatar` events whenever avatars are created or updated.

website/pages/en/querying/querying-from-an-application.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ With your GraphQL endpoint, you can use various GraphQL Client libraries to quer
2626

2727
### Graph Client
2828

29-
3029
The Graph is providing its own GraphQL client, `graph-client` that supports unique features such as:
3130

3231
- Cross-chain Subgraph Handling: Querying from multiple subgraphs in a single query

website/pages/en/quick-start.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ For additional information on subgraph creation and the Graph CLI, see [Creating
5757
The following command initializes your subgraph from an existing contract:
5858

5959
```sh
60-
graph init --studio <SUBGRAPH_SLUG>
60+
graph init <SUBGRAPH_SLUG>
6161
```
6262

6363
> Note: If your contract was verified on Etherscan, then the ABI will automatically be created in the CLI.
@@ -113,9 +113,9 @@ Remember, deploying is not the same as publishing.
113113

114114
```sh
115115

116-
graph auth --studio <DEPLOY_KEY>
116+
graph auth <DEPLOY_KEY>
117117

118-
graph deploy --studio <SUBGRAPH_SLUG>
118+
graph deploy <SUBGRAPH_SLUG>
119119
```
120120

121121
- The CLI will ask for a version label.

0 commit comments

Comments
 (0)