{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "Publish schema", "type": "shell", "command": "npx wgc subgraph publish ${input:subgraph} --schema=${input:subgraph}/graph/schema.graphqls", "problemMatcher": [], "options": { "env": { "COSMO_API_URL": "http://localhost:3001", "COSMO_API_KEY": "cosmo_6a71cff4085e8353d85e876114e6010b" } } }, { "label": "Check schema", "type": "shell", "command": "npx wgc subgraph check ${input:subgraph} --schema=${input:subgraph}/graph/schema.graphqls", "problemMatcher": [], "options": { "env": { "COSMO_API_URL": "http://localhost:3001", "COSMO_API_KEY": "cosmo_6a71cff4085e8353d85e876114e6010b" } } } ], "inputs": [ { "id": "subgraph", "description": "The name of the subgraph", "type": "promptString" } ] }