1 | {
|
2 | "version": "0.56.0-alpha-20230821070446-b86cfb8",
|
3 | "commands": {
|
4 | "add": {
|
5 | "id": "add",
|
6 | "description": "Adds a new datasource to a subgraph.",
|
7 | "strict": true,
|
8 | "pluginName": "@graphprotocol/graph-cli",
|
9 | "pluginAlias": "@graphprotocol/graph-cli",
|
10 | "pluginType": "core",
|
11 | "aliases": [],
|
12 | "flags": {
|
13 | "help": {
|
14 | "name": "help",
|
15 | "type": "boolean",
|
16 | "char": "h",
|
17 | "description": "Show CLI help.",
|
18 | "allowNo": false
|
19 | },
|
20 | "abi": {
|
21 | "name": "abi",
|
22 | "type": "option",
|
23 | "summary": "Path to the contract ABI.",
|
24 | "multiple": false
|
25 | },
|
26 | "start-block": {
|
27 | "name": "start-block",
|
28 | "type": "option",
|
29 | "summary": "The block number to start indexing events from.",
|
30 | "multiple": false
|
31 | },
|
32 | "contract-name": {
|
33 | "name": "contract-name",
|
34 | "type": "option",
|
35 | "summary": "Name of the contract.",
|
36 | "multiple": false,
|
37 | "default": "Contract"
|
38 | },
|
39 | "merge-entities": {
|
40 | "name": "merge-entities",
|
41 | "type": "boolean",
|
42 | "summary": "Whether to merge entities with the same name.",
|
43 | "allowNo": false
|
44 | },
|
45 | "network-file": {
|
46 | "name": "network-file",
|
47 | "type": "option",
|
48 | "summary": "Networks config file path.",
|
49 | "multiple": false,
|
50 | "default": "networks.json"
|
51 | }
|
52 | },
|
53 | "args": {
|
54 | "address": {
|
55 | "name": "address",
|
56 | "description": "The contract address",
|
57 | "required": true
|
58 | },
|
59 | "subgraph-manifest": {
|
60 | "name": "subgraph-manifest",
|
61 | "default": "subgraph.yaml"
|
62 | }
|
63 | }
|
64 | },
|
65 | "auth": {
|
66 | "id": "auth",
|
67 | "description": "Sets the deploy key to use when deploying to a Graph node.",
|
68 | "strict": true,
|
69 | "pluginName": "@graphprotocol/graph-cli",
|
70 | "pluginAlias": "@graphprotocol/graph-cli",
|
71 | "pluginType": "core",
|
72 | "aliases": [],
|
73 | "flags": {
|
74 | "help": {
|
75 | "name": "help",
|
76 | "type": "boolean",
|
77 | "char": "h",
|
78 | "description": "Show CLI help.",
|
79 | "allowNo": false
|
80 | },
|
81 | "product": {
|
82 | "name": "product",
|
83 | "type": "option",
|
84 | "summary": "Select a product for which to authenticate.",
|
85 | "multiple": false,
|
86 | "options": [
|
87 | "subgraph-studio",
|
88 | "hosted-service"
|
89 | ]
|
90 | },
|
91 | "studio": {
|
92 | "name": "studio",
|
93 | "type": "boolean",
|
94 | "summary": "Shortcut for \"--product subgraph-studio\".",
|
95 | "allowNo": false,
|
96 | "exclusive": [
|
97 | "product"
|
98 | ]
|
99 | }
|
100 | },
|
101 | "args": {
|
102 | "node": {
|
103 | "name": "node"
|
104 | },
|
105 | "deploy-key": {
|
106 | "name": "deploy-key"
|
107 | }
|
108 | }
|
109 | },
|
110 | "build": {
|
111 | "id": "build",
|
112 | "description": "Builds a subgraph and (optionally) uploads it to IPFS.",
|
113 | "strict": true,
|
114 | "pluginName": "@graphprotocol/graph-cli",
|
115 | "pluginAlias": "@graphprotocol/graph-cli",
|
116 | "pluginType": "core",
|
117 | "aliases": [],
|
118 | "flags": {
|
119 | "help": {
|
120 | "name": "help",
|
121 | "type": "boolean",
|
122 | "char": "h",
|
123 | "description": "Show CLI help.",
|
124 | "allowNo": false
|
125 | },
|
126 | "ipfs": {
|
127 | "name": "ipfs",
|
128 | "type": "option",
|
129 | "char": "i",
|
130 | "summary": "Upload build results to an IPFS node.",
|
131 | "multiple": false
|
132 | },
|
133 | "output-dir": {
|
134 | "name": "output-dir",
|
135 | "type": "option",
|
136 | "char": "o",
|
137 | "summary": "Output directory for build results.",
|
138 | "multiple": false,
|
139 | "default": "build/"
|
140 | },
|
141 | "output-format": {
|
142 | "name": "output-format",
|
143 | "type": "option",
|
144 | "char": "t",
|
145 | "summary": "Output format for mappings.",
|
146 | "multiple": false,
|
147 | "options": [
|
148 | "wasm",
|
149 | "wast"
|
150 | ],
|
151 | "default": "wasm"
|
152 | },
|
153 | "skip-migrations": {
|
154 | "name": "skip-migrations",
|
155 | "type": "boolean",
|
156 | "summary": "Skip subgraph migrations.",
|
157 | "allowNo": false
|
158 | },
|
159 | "watch": {
|
160 | "name": "watch",
|
161 | "type": "boolean",
|
162 | "char": "w",
|
163 | "summary": "Regenerate types when subgraph files change.",
|
164 | "allowNo": false
|
165 | },
|
166 | "network": {
|
167 | "name": "network",
|
168 | "type": "option",
|
169 | "summary": "Network configuration to use from the networks config file.",
|
170 | "multiple": false
|
171 | },
|
172 | "network-file": {
|
173 | "name": "network-file",
|
174 | "type": "option",
|
175 | "summary": "Networks config file path.",
|
176 | "multiple": false,
|
177 | "default": "networks.json"
|
178 | }
|
179 | },
|
180 | "args": {
|
181 | "subgraph-manifest": {
|
182 | "name": "subgraph-manifest",
|
183 | "default": "subgraph.yaml"
|
184 | }
|
185 | }
|
186 | },
|
187 | "clean": {
|
188 | "id": "clean",
|
189 | "description": "Clean the cache and generated files.",
|
190 | "strict": true,
|
191 | "pluginName": "@graphprotocol/graph-cli",
|
192 | "pluginAlias": "@graphprotocol/graph-cli",
|
193 | "pluginType": "core",
|
194 | "aliases": [],
|
195 | "flags": {
|
196 | "help": {
|
197 | "name": "help",
|
198 | "type": "boolean",
|
199 | "char": "h",
|
200 | "description": "Show CLI help.",
|
201 | "allowNo": false
|
202 | },
|
203 | "codegen-dir": {
|
204 | "name": "codegen-dir",
|
205 | "type": "option",
|
206 | "summary": "Directory where the \"graph codegen\" code is stored.",
|
207 | "multiple": false,
|
208 | "default": "generated/"
|
209 | },
|
210 | "build-dir": {
|
211 | "name": "build-dir",
|
212 | "type": "option",
|
213 | "summary": "Directory where the \"graph build\" code is stored.",
|
214 | "multiple": false,
|
215 | "default": "build/"
|
216 | }
|
217 | },
|
218 | "args": {}
|
219 | },
|
220 | "codegen": {
|
221 | "id": "codegen",
|
222 | "description": "Generates AssemblyScript types for a subgraph.",
|
223 | "strict": true,
|
224 | "pluginName": "@graphprotocol/graph-cli",
|
225 | "pluginAlias": "@graphprotocol/graph-cli",
|
226 | "pluginType": "core",
|
227 | "aliases": [],
|
228 | "flags": {
|
229 | "help": {
|
230 | "name": "help",
|
231 | "type": "boolean",
|
232 | "char": "h",
|
233 | "description": "Show CLI help.",
|
234 | "allowNo": false
|
235 | },
|
236 | "output-dir": {
|
237 | "name": "output-dir",
|
238 | "type": "option",
|
239 | "char": "o",
|
240 | "summary": "Output directory for generated types.",
|
241 | "multiple": false,
|
242 | "default": "generated/"
|
243 | },
|
244 | "skip-migrations": {
|
245 | "name": "skip-migrations",
|
246 | "type": "boolean",
|
247 | "summary": "Skip subgraph migrations.",
|
248 | "allowNo": false
|
249 | },
|
250 | "watch": {
|
251 | "name": "watch",
|
252 | "type": "boolean",
|
253 | "char": "w",
|
254 | "summary": "Regenerate types when subgraph files change.",
|
255 | "allowNo": false
|
256 | },
|
257 | "uncrashable": {
|
258 | "name": "uncrashable",
|
259 | "type": "boolean",
|
260 | "char": "u",
|
261 | "summary": "Generate Float Subgraph Uncrashable helper file.",
|
262 | "allowNo": false
|
263 | },
|
264 | "uncrashable-config": {
|
265 | "name": "uncrashable-config",
|
266 | "type": "option",
|
267 | "summary": "Directory for uncrashable config.",
|
268 | "multiple": false,
|
269 | "dependsOn": [
|
270 | "uncrashable"
|
271 | ],
|
272 | "aliases": [
|
273 | "uc"
|
274 | ]
|
275 | }
|
276 | },
|
277 | "args": {
|
278 | "subgraph-manifest": {
|
279 | "name": "subgraph-manifest",
|
280 | "default": "subgraph.yaml"
|
281 | }
|
282 | }
|
283 | },
|
284 | "create": {
|
285 | "id": "create",
|
286 | "description": "Registers a subgraph name",
|
287 | "strict": true,
|
288 | "pluginName": "@graphprotocol/graph-cli",
|
289 | "pluginAlias": "@graphprotocol/graph-cli",
|
290 | "pluginType": "core",
|
291 | "aliases": [],
|
292 | "flags": {
|
293 | "help": {
|
294 | "name": "help",
|
295 | "type": "boolean",
|
296 | "char": "h",
|
297 | "description": "Show CLI help.",
|
298 | "allowNo": false
|
299 | },
|
300 | "node": {
|
301 | "name": "node",
|
302 | "type": "option",
|
303 | "char": "g",
|
304 | "summary": "Graph node to create the subgraph in.",
|
305 | "required": true,
|
306 | "multiple": false
|
307 | },
|
308 | "access-token": {
|
309 | "name": "access-token",
|
310 | "type": "option",
|
311 | "summary": "Graph access token.",
|
312 | "multiple": false
|
313 | }
|
314 | },
|
315 | "args": {
|
316 | "subgraph-name": {
|
317 | "name": "subgraph-name",
|
318 | "required": true
|
319 | }
|
320 | }
|
321 | },
|
322 | "deploy": {
|
323 | "id": "deploy",
|
324 | "description": "Deploys a subgraph to a Graph node.",
|
325 | "strict": true,
|
326 | "pluginName": "@graphprotocol/graph-cli",
|
327 | "pluginAlias": "@graphprotocol/graph-cli",
|
328 | "pluginType": "core",
|
329 | "aliases": [],
|
330 | "flags": {
|
331 | "help": {
|
332 | "name": "help",
|
333 | "type": "boolean",
|
334 | "char": "h",
|
335 | "description": "Show CLI help.",
|
336 | "allowNo": false
|
337 | },
|
338 | "product": {
|
339 | "name": "product",
|
340 | "type": "option",
|
341 | "summary": "Select a product for which to authenticate.",
|
342 | "multiple": false,
|
343 | "options": [
|
344 | "subgraph-studio",
|
345 | "hosted-service"
|
346 | ]
|
347 | },
|
348 | "studio": {
|
349 | "name": "studio",
|
350 | "type": "boolean",
|
351 | "summary": "Shortcut for \"--product subgraph-studio\".",
|
352 | "allowNo": false,
|
353 | "exclusive": [
|
354 | "product"
|
355 | ]
|
356 | },
|
357 | "node": {
|
358 | "name": "node",
|
359 | "type": "option",
|
360 | "char": "g",
|
361 | "summary": "Graph node for which to initialize.",
|
362 | "multiple": false
|
363 | },
|
364 | "deploy-key": {
|
365 | "name": "deploy-key",
|
366 | "type": "option",
|
367 | "summary": "User deploy key.",
|
368 | "multiple": false,
|
369 | "exclusive": [
|
370 | "access-token"
|
371 | ]
|
372 | },
|
373 | "access-token": {
|
374 | "name": "access-token",
|
375 | "type": "option",
|
376 | "summary": "Graph access key. DEPRECATED: Use \"--deploy-key\" instead.",
|
377 | "multiple": false,
|
378 | "exclusive": [
|
379 | "deploy-key"
|
380 | ],
|
381 | "deprecated": true
|
382 | },
|
383 | "version-label": {
|
384 | "name": "version-label",
|
385 | "type": "option",
|
386 | "char": "l",
|
387 | "summary": "Version label used for the deployment.",
|
388 | "multiple": false
|
389 | },
|
390 | "ipfs": {
|
391 | "name": "ipfs",
|
392 | "type": "option",
|
393 | "char": "i",
|
394 | "summary": "Upload build results to an IPFS node.",
|
395 | "multiple": false,
|
396 | "default": "https://api.thegraph.com/ipfs/api/v0"
|
397 | },
|
398 | "ipfs-hash": {
|
399 | "name": "ipfs-hash",
|
400 | "type": "option",
|
401 | "summary": "IPFS hash of the subgraph manifest to deploy.",
|
402 | "required": false,
|
403 | "multiple": false
|
404 | },
|
405 | "headers": {
|
406 | "name": "headers",
|
407 | "type": "option",
|
408 | "summary": "Add custom headers that will be used by the IPFS HTTP client.",
|
409 | "multiple": false,
|
410 | "default": {},
|
411 | "aliases": [
|
412 | "hdr"
|
413 | ]
|
414 | },
|
415 | "debug-fork": {
|
416 | "name": "debug-fork",
|
417 | "type": "option",
|
418 | "summary": "ID of a remote subgraph whose store will be GraphQL queried.",
|
419 | "multiple": false
|
420 | },
|
421 | "output-dir": {
|
422 | "name": "output-dir",
|
423 | "type": "option",
|
424 | "char": "o",
|
425 | "summary": "Output directory for build results.",
|
426 | "multiple": false,
|
427 | "default": "build/"
|
428 | },
|
429 | "skip-migrations": {
|
430 | "name": "skip-migrations",
|
431 | "type": "boolean",
|
432 | "summary": "Skip subgraph migrations.",
|
433 | "allowNo": false
|
434 | },
|
435 | "watch": {
|
436 | "name": "watch",
|
437 | "type": "boolean",
|
438 | "char": "w",
|
439 | "summary": "Regenerate types when subgraph files change.",
|
440 | "allowNo": false
|
441 | },
|
442 | "network": {
|
443 | "name": "network",
|
444 | "type": "option",
|
445 | "summary": "Network configuration to use from the networks config file.",
|
446 | "multiple": false
|
447 | },
|
448 | "network-file": {
|
449 | "name": "network-file",
|
450 | "type": "option",
|
451 | "summary": "Networks config file path.",
|
452 | "multiple": false,
|
453 | "default": "networks.json"
|
454 | },
|
455 | "from-hosted-service": {
|
456 | "name": "from-hosted-service",
|
457 | "type": "option",
|
458 | "summary": "Hosted service Subgraph Name to deploy to studio.",
|
459 | "multiple": false
|
460 | }
|
461 | },
|
462 | "args": {
|
463 | "subgraph-name": {
|
464 | "name": "subgraph-name"
|
465 | },
|
466 | "subgraph-manifest": {
|
467 | "name": "subgraph-manifest",
|
468 | "default": "subgraph.yaml"
|
469 | }
|
470 | }
|
471 | },
|
472 | "init": {
|
473 | "id": "init",
|
474 | "description": "Creates a new subgraph with basic scaffolding.",
|
475 | "strict": true,
|
476 | "pluginName": "@graphprotocol/graph-cli",
|
477 | "pluginAlias": "@graphprotocol/graph-cli",
|
478 | "pluginType": "core",
|
479 | "aliases": [],
|
480 | "flags": {
|
481 | "help": {
|
482 | "name": "help",
|
483 | "type": "boolean",
|
484 | "char": "h",
|
485 | "description": "Show CLI help.",
|
486 | "allowNo": false
|
487 | },
|
488 | "protocol": {
|
489 | "name": "protocol",
|
490 | "type": "option",
|
491 | "multiple": false,
|
492 | "options": [
|
493 | "arweave",
|
494 | "ethereum",
|
495 | "near",
|
496 | "cosmos",
|
497 | "substreams"
|
498 | ]
|
499 | },
|
500 | "product": {
|
501 | "name": "product",
|
502 | "type": "option",
|
503 | "summary": "Selects the product for which to initialize.",
|
504 | "multiple": false,
|
505 | "options": [
|
506 | "subgraph-studio",
|
507 | "hosted-service"
|
508 | ]
|
509 | },
|
510 | "studio": {
|
511 | "name": "studio",
|
512 | "type": "boolean",
|
513 | "summary": "Shortcut for \"--product subgraph-studio\".",
|
514 | "allowNo": false,
|
515 | "exclusive": [
|
516 | "product"
|
517 | ]
|
518 | },
|
519 | "node": {
|
520 | "name": "node",
|
521 | "type": "option",
|
522 | "char": "g",
|
523 | "summary": "Graph node for which to initialize.",
|
524 | "multiple": false
|
525 | },
|
526 | "allow-simple-name": {
|
527 | "name": "allow-simple-name",
|
528 | "type": "boolean",
|
529 | "description": "Use a subgraph name without a prefix.",
|
530 | "allowNo": false
|
531 | },
|
532 | "from-contract": {
|
533 | "name": "from-contract",
|
534 | "type": "option",
|
535 | "description": "Creates a scaffold based on an existing contract.",
|
536 | "multiple": false,
|
537 | "exclusive": [
|
538 | "from-example"
|
539 | ]
|
540 | },
|
541 | "from-example": {
|
542 | "name": "from-example",
|
543 | "type": "option",
|
544 | "description": "Creates a scaffold based on an example subgraph.",
|
545 | "multiple": false,
|
546 | "exclusive": [
|
547 | "from-contract"
|
548 | ]
|
549 | },
|
550 | "contract-name": {
|
551 | "name": "contract-name",
|
552 | "type": "option",
|
553 | "description": "Name of the contract.",
|
554 | "helpGroup": "Scaffold from contract",
|
555 | "multiple": false,
|
556 | "dependsOn": [
|
557 | "from-contract"
|
558 | ]
|
559 | },
|
560 | "index-events": {
|
561 | "name": "index-events",
|
562 | "type": "boolean",
|
563 | "description": "Index contract events as entities.",
|
564 | "helpGroup": "Scaffold from contract",
|
565 | "allowNo": false,
|
566 | "dependsOn": [
|
567 | "from-contract"
|
568 | ]
|
569 | },
|
570 | "skip-install": {
|
571 | "name": "skip-install",
|
572 | "type": "boolean",
|
573 | "summary": "Skip installing dependencies.",
|
574 | "allowNo": false
|
575 | },
|
576 | "start-block": {
|
577 | "name": "start-block",
|
578 | "type": "option",
|
579 | "description": "Block number to start indexing from.",
|
580 | "helpGroup": "Scaffold from contract",
|
581 | "multiple": false,
|
582 | "dependsOn": [
|
583 | "from-contract"
|
584 | ]
|
585 | },
|
586 | "abi": {
|
587 | "name": "abi",
|
588 | "type": "option",
|
589 | "summary": "Path to the contract ABI",
|
590 | "multiple": false,
|
591 | "dependsOn": [
|
592 | "from-contract"
|
593 | ]
|
594 | },
|
595 | "spkg": {
|
596 | "name": "spkg",
|
597 | "type": "option",
|
598 | "summary": "Path to the SPKG file",
|
599 | "multiple": false
|
600 | },
|
601 | "network": {
|
602 | "name": "network",
|
603 | "type": "option",
|
604 | "summary": "Network the contract is deployed to.",
|
605 | "multiple": false,
|
606 | "options": [
|
607 | "mainnet",
|
608 | "rinkeby",
|
609 | "goerli",
|
610 | "poa-core",
|
611 | "poa-sokol",
|
612 | "gnosis",
|
613 | "matic",
|
614 | "mumbai",
|
615 | "fantom",
|
616 | "fantom-testnet",
|
617 | "bsc",
|
618 | "chapel",
|
619 | "clover",
|
620 | "avalanche",
|
621 | "fuji",
|
622 | "celo",
|
623 | "celo-alfajores",
|
624 | "fuse",
|
625 | "moonbeam",
|
626 | "moonriver",
|
627 | "mbase",
|
628 | "arbitrum-one",
|
629 | "arbitrum-goerli",
|
630 | "optimism",
|
631 | "optimism-goerli",
|
632 | "aurora",
|
633 | "aurora-testnet",
|
634 | "base-testnet",
|
635 | "base",
|
636 | "zksync-era",
|
637 | "zksync-era-testnet",
|
638 | "sepolia",
|
639 | "polygon-zkevm-testnet",
|
640 | "polygon-zkevm",
|
641 | "scroll-sepolia",
|
642 | "near-mainnet",
|
643 | "near-testnet",
|
644 | "cosmoshub-4",
|
645 | "theta-testnet-001",
|
646 | "osmosis-1",
|
647 | "osmo-test-4",
|
648 | "juno-1",
|
649 | "uni-3"
|
650 | ],
|
651 | "dependsOn": [
|
652 | "from-contract"
|
653 | ]
|
654 | }
|
655 | },
|
656 | "args": {
|
657 | "subgraphName": {
|
658 | "name": "subgraphName"
|
659 | },
|
660 | "directory": {
|
661 | "name": "directory"
|
662 | }
|
663 | }
|
664 | },
|
665 | "local": {
|
666 | "id": "local",
|
667 | "description": "Runs local tests against a Graph Node environment (using Ganache by default).",
|
668 | "strict": true,
|
669 | "pluginName": "@graphprotocol/graph-cli",
|
670 | "pluginAlias": "@graphprotocol/graph-cli",
|
671 | "pluginType": "core",
|
672 | "aliases": [],
|
673 | "flags": {
|
674 | "help": {
|
675 | "name": "help",
|
676 | "type": "boolean",
|
677 | "char": "h",
|
678 | "description": "Show CLI help.",
|
679 | "allowNo": false
|
680 | },
|
681 | "node-logs": {
|
682 | "name": "node-logs",
|
683 | "type": "boolean",
|
684 | "summary": "Print the Graph Node logs.",
|
685 | "allowNo": false
|
686 | },
|
687 | "ethereum-logs": {
|
688 | "name": "ethereum-logs",
|
689 | "type": "boolean",
|
690 | "summary": "Print the Ethereum logs.",
|
691 | "allowNo": false
|
692 | },
|
693 | "compose-file": {
|
694 | "name": "compose-file",
|
695 | "type": "option",
|
696 | "summary": "Custom Docker Compose file for additional services.",
|
697 | "multiple": false
|
698 | },
|
699 | "node-image": {
|
700 | "name": "node-image",
|
701 | "type": "option",
|
702 | "summary": "Custom Graph Node image to test against.",
|
703 | "multiple": false,
|
704 | "default": "graphprotocol/graph-node:latest"
|
705 | },
|
706 | "standalone-node": {
|
707 | "name": "standalone-node",
|
708 | "type": "option",
|
709 | "summary": "Use a standalone Graph Node outside Docker Compose.",
|
710 | "multiple": false
|
711 | },
|
712 | "standalone-node-args": {
|
713 | "name": "standalone-node-args",
|
714 | "type": "option",
|
715 | "summary": "Custom arguments to be passed to the standalone Graph Node.",
|
716 | "multiple": false,
|
717 | "dependsOn": [
|
718 | "standalone-node"
|
719 | ]
|
720 | },
|
721 | "skip-wait-for-ipfs": {
|
722 | "name": "skip-wait-for-ipfs",
|
723 | "type": "boolean",
|
724 | "summary": "Don't wait for IPFS to be up at localhost:15001",
|
725 | "allowNo": false
|
726 | },
|
727 | "skip-wait-for-etherium": {
|
728 | "name": "skip-wait-for-etherium",
|
729 | "type": "boolean",
|
730 | "summary": "Don't wait for Ethereum to be up at localhost:18545",
|
731 | "allowNo": false
|
732 | },
|
733 | "skip-wait-for-postgres": {
|
734 | "name": "skip-wait-for-postgres",
|
735 | "type": "boolean",
|
736 | "summary": "Don't wait for Postgres to be up at localhost:15432",
|
737 | "allowNo": false
|
738 | },
|
739 | "timeout": {
|
740 | "name": "timeout",
|
741 | "type": "option",
|
742 | "summary": "Time to wait for service containers in milliseconds.",
|
743 | "multiple": false,
|
744 | "default": 120000
|
745 | }
|
746 | },
|
747 | "args": {
|
748 | "local-command": {
|
749 | "name": "local-command",
|
750 | "required": true
|
751 | }
|
752 | }
|
753 | },
|
754 | "remove": {
|
755 | "id": "remove",
|
756 | "description": "Unregisters a subgraph name",
|
757 | "strict": true,
|
758 | "pluginName": "@graphprotocol/graph-cli",
|
759 | "pluginAlias": "@graphprotocol/graph-cli",
|
760 | "pluginType": "core",
|
761 | "aliases": [],
|
762 | "flags": {
|
763 | "help": {
|
764 | "name": "help",
|
765 | "type": "boolean",
|
766 | "char": "h",
|
767 | "description": "Show CLI help.",
|
768 | "allowNo": false
|
769 | },
|
770 | "node": {
|
771 | "name": "node",
|
772 | "type": "option",
|
773 | "char": "g",
|
774 | "summary": "Graph node to delete the subgraph from.",
|
775 | "required": true,
|
776 | "multiple": false
|
777 | },
|
778 | "access-token": {
|
779 | "name": "access-token",
|
780 | "type": "option",
|
781 | "summary": "Graph access token.",
|
782 | "multiple": false
|
783 | }
|
784 | },
|
785 | "args": {
|
786 | "subgraph-name": {
|
787 | "name": "subgraph-name",
|
788 | "required": true
|
789 | }
|
790 | }
|
791 | },
|
792 | "test": {
|
793 | "id": "test",
|
794 | "description": "Runs rust binary for subgraph testing.",
|
795 | "strict": true,
|
796 | "pluginName": "@graphprotocol/graph-cli",
|
797 | "pluginAlias": "@graphprotocol/graph-cli",
|
798 | "pluginType": "core",
|
799 | "aliases": [],
|
800 | "flags": {
|
801 | "help": {
|
802 | "name": "help",
|
803 | "type": "boolean",
|
804 | "char": "h",
|
805 | "description": "Show CLI help.",
|
806 | "allowNo": false
|
807 | },
|
808 | "coverage": {
|
809 | "name": "coverage",
|
810 | "type": "boolean",
|
811 | "char": "c",
|
812 | "summary": "Run the tests in coverage mode.",
|
813 | "allowNo": false
|
814 | },
|
815 | "docker": {
|
816 | "name": "docker",
|
817 | "type": "boolean",
|
818 | "char": "d",
|
819 | "summary": "Run the tests in a docker container (Note: Please execute from the root folder of the subgraph).",
|
820 | "allowNo": false
|
821 | },
|
822 | "force": {
|
823 | "name": "force",
|
824 | "type": "boolean",
|
825 | "char": "f",
|
826 | "summary": "Binary - overwrites folder + file when downloading. Docker - rebuilds the docker image.",
|
827 | "allowNo": false
|
828 | },
|
829 | "logs": {
|
830 | "name": "logs",
|
831 | "type": "boolean",
|
832 | "char": "l",
|
833 | "summary": "Logs to the console information about the OS, CPU model and download url (debugging purposes).",
|
834 | "allowNo": false
|
835 | },
|
836 | "recompile": {
|
837 | "name": "recompile",
|
838 | "type": "boolean",
|
839 | "char": "r",
|
840 | "summary": "Force-recompile tests.",
|
841 | "allowNo": false
|
842 | },
|
843 | "version": {
|
844 | "name": "version",
|
845 | "type": "option",
|
846 | "char": "v",
|
847 | "summary": "Choose the version of the rust binary that you want to be downloaded/used.",
|
848 | "multiple": false
|
849 | }
|
850 | },
|
851 | "args": {
|
852 | "datasource": {
|
853 | "name": "datasource"
|
854 | }
|
855 | }
|
856 | }
|
857 | }
|
858 | } |
\ | No newline at end of file |