From ba41a8800b17b39888ebc9b5430100395383fcee Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Fri, 8 Nov 2024 13:41:15 -0800 Subject: [PATCH 1/2] fixing command --- website/pages/en/deploying/deploy-using-subgraph-studio.mdx | 2 +- website/pages/en/developing/creating-a-subgraph.mdx | 2 +- website/pages/en/querying/querying-from-an-application.mdx | 1 - website/pages/en/quick-start.mdx | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/website/pages/en/deploying/deploy-using-subgraph-studio.mdx b/website/pages/en/deploying/deploy-using-subgraph-studio.mdx index 1533ca9b86c3..cf4a9793ddf6 100644 --- a/website/pages/en/deploying/deploy-using-subgraph-studio.mdx +++ b/website/pages/en/deploying/deploy-using-subgraph-studio.mdx @@ -70,7 +70,7 @@ In order to be supported by Indexers on The Graph Network, subgraphs must: Once your subgraph has been created in Subgraph Studio, you can initialize its code through the CLI using this command: ```bash -graph init --studio +graph init ``` You can find the `` value on your subgraph details page in Subgraph Studio, see image below: diff --git a/website/pages/en/developing/creating-a-subgraph.mdx b/website/pages/en/developing/creating-a-subgraph.mdx index bf3fb7d0486b..e872812bb60c 100644 --- a/website/pages/en/developing/creating-a-subgraph.mdx +++ b/website/pages/en/developing/creating-a-subgraph.mdx @@ -66,7 +66,7 @@ graph init \ The following command initializes a new project from an example subgraph: ```sh -graph init --studio --from-example=example-subgraph +graph init --from-example=example-subgraph ``` - 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. diff --git a/website/pages/en/querying/querying-from-an-application.mdx b/website/pages/en/querying/querying-from-an-application.mdx index 82d0661b73cd..a9f8162ebcf0 100644 --- a/website/pages/en/querying/querying-from-an-application.mdx +++ b/website/pages/en/querying/querying-from-an-application.mdx @@ -26,7 +26,6 @@ With your GraphQL endpoint, you can use various GraphQL Client libraries to quer ### Graph Client - The Graph is providing its own GraphQL client, `graph-client` that supports unique features such as: - Cross-chain Subgraph Handling: Querying from multiple subgraphs in a single query diff --git a/website/pages/en/quick-start.mdx b/website/pages/en/quick-start.mdx index 1c730703d10f..80b9df6edfba 100644 --- a/website/pages/en/quick-start.mdx +++ b/website/pages/en/quick-start.mdx @@ -57,7 +57,7 @@ For additional information on subgraph creation and the Graph CLI, see [Creating The following command initializes your subgraph from an existing contract: ```sh -graph init --studio +graph init ``` > Note: If your contract was verified on Etherscan, then the ABI will automatically be created in the CLI. From 9d984e1a0ae20300fe7beac5312d812cc38db4b0 Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Mon, 11 Nov 2024 11:22:22 -0800 Subject: [PATCH 2/2] removing from all commands --- website/pages/en/cookbook/arweave.mdx | 2 +- website/pages/en/cookbook/cosmos.mdx | 2 +- website/pages/en/cookbook/near.mdx | 4 ++-- website/pages/en/deploying/deploy-using-subgraph-studio.mdx | 4 ++-- website/pages/en/quick-start.mdx | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/website/pages/en/cookbook/arweave.mdx b/website/pages/en/cookbook/arweave.mdx index d5a27bd9fc74..f59b8ac82edb 100644 --- a/website/pages/en/cookbook/arweave.mdx +++ b/website/pages/en/cookbook/arweave.mdx @@ -155,7 +155,7 @@ Writing the mappings of an Arweave Subgraph is very similar to writing the mappi Once your subgraph has been created on your Subgraph Studio dashboard, you can deploy by using the `graph deploy` CLI command. ```bash -graph deploy --studio --access-token +graph deploy --access-token ``` ## Querying an Arweave Subgraph diff --git a/website/pages/en/cookbook/cosmos.mdx b/website/pages/en/cookbook/cosmos.mdx index a8c359b3098c..cd23a3742f86 100644 --- a/website/pages/en/cookbook/cosmos.mdx +++ b/website/pages/en/cookbook/cosmos.mdx @@ -203,7 +203,7 @@ Once your subgraph has been created, you can deploy your subgraph by using the ` Visit the Subgraph Studio to create a new subgraph. ```bash -graph deploy --studio subgraph-name +graph deploy subgraph-name ``` **Local Graph Node (based on default configuration):** diff --git a/website/pages/en/cookbook/near.mdx b/website/pages/en/cookbook/near.mdx index a4f27caf6f3c..f2509e44e84c 100644 --- a/website/pages/en/cookbook/near.mdx +++ b/website/pages/en/cookbook/near.mdx @@ -194,8 +194,8 @@ The node configuration will depend on where the subgraph is being deployed. ### Subgraph Studio ```sh -graph auth --studio -graph deploy --studio +graph auth +graph deploy ``` ### Local Graph Node (based on default configuration) diff --git a/website/pages/en/deploying/deploy-using-subgraph-studio.mdx b/website/pages/en/deploying/deploy-using-subgraph-studio.mdx index cf4a9793ddf6..a3b2f150a79c 100644 --- a/website/pages/en/deploying/deploy-using-subgraph-studio.mdx +++ b/website/pages/en/deploying/deploy-using-subgraph-studio.mdx @@ -86,7 +86,7 @@ Before you can deploy your subgraph to Subgraph Studio, you need to log into you Then, use the following command to authenticate from the CLI: ```bash -graph auth --studio +graph auth ``` ## Deploying a Subgraph @@ -98,7 +98,7 @@ Once you are ready, you can deploy your subgraph to Subgraph Studio. Use the following CLI command to deploy your subgraph: ```bash -graph deploy --studio +graph deploy ``` After running this command, the CLI will ask for a version label. diff --git a/website/pages/en/quick-start.mdx b/website/pages/en/quick-start.mdx index 80b9df6edfba..a71dd43ebd61 100644 --- a/website/pages/en/quick-start.mdx +++ b/website/pages/en/quick-start.mdx @@ -113,9 +113,9 @@ Remember, deploying is not the same as publishing. ```sh - graph auth --studio + graph auth - graph deploy --studio + graph deploy ``` - The CLI will ask for a version label.