@graphprotocol/graph-cli 0.59.0-alpha-20230928172030-9e0d14a → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -15
- package/dist/{src/command-helpers → command-helpers}/abi.js +5 -7
- package/dist/{src/command-helpers → command-helpers}/compiler.js +1 -8
- package/dist/{src/command-helpers → command-helpers}/node.js +1 -2
- package/dist/{src/commands → commands}/create.js +1 -5
- package/dist/{src/commands → commands}/deploy.js +3 -13
- package/dist/{src/commands → commands}/remove.js +1 -5
- package/dist/{src/commands → commands}/test.js +4 -5
- package/oclif.manifest.json +865 -2
- package/package.json +1 -1
- package/dist/package.json +0 -92
- package/dist/src/constants.d.ts +0 -3
- package/dist/src/constants.js +0 -7
- package/dist/src/fetch.d.ts +0 -2
- package/dist/src/fetch.js +0 -15
- /package/dist/{src/codegen → codegen}/schema.d.ts +0 -0
- /package/dist/{src/codegen → codegen}/schema.js +0 -0
- /package/dist/{src/codegen → codegen}/schema.test.d.ts +0 -0
- /package/dist/{src/codegen → codegen}/schema.test.js +0 -0
- /package/dist/{src/codegen → codegen}/template.d.ts +0 -0
- /package/dist/{src/codegen → codegen}/template.js +0 -0
- /package/dist/{src/codegen → codegen}/types/conversions.d.ts +0 -0
- /package/dist/{src/codegen → codegen}/types/conversions.js +0 -0
- /package/dist/{src/codegen → codegen}/types/index.d.ts +0 -0
- /package/dist/{src/codegen → codegen}/types/index.js +0 -0
- /package/dist/{src/codegen → codegen}/types/index.test.d.ts +0 -0
- /package/dist/{src/codegen → codegen}/types/index.test.js +0 -0
- /package/dist/{src/codegen → codegen}/typescript.d.ts +0 -0
- /package/dist/{src/codegen → codegen}/typescript.js +0 -0
- /package/dist/{src/codegen → codegen}/util.d.ts +0 -0
- /package/dist/{src/codegen → codegen}/util.js +0 -0
- /package/dist/{src/codegen → codegen}/util.test.d.ts +0 -0
- /package/dist/{src/codegen → codegen}/util.test.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/abi.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/abi.test.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/abi.test.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/auth.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/auth.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/compiler.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/compiler.test.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/compiler.test.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/data-sources.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/data-sources.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/fs.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/fs.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/ipfs.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/ipfs.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/jsonrpc.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/jsonrpc.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/network.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/network.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/network.test.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/network.test.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/node.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/scaffold.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/scaffold.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/spinner.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/spinner.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/studio.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/studio.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/studio.test.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/studio.test.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/subgraph.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/subgraph.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/version.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/version.js +0 -0
- /package/dist/{src/command-helpers → command-helpers}/version.test.d.ts +0 -0
- /package/dist/{src/command-helpers → command-helpers}/version.test.js +0 -0
- /package/dist/{src/commands → commands}/add.d.ts +0 -0
- /package/dist/{src/commands → commands}/add.js +0 -0
- /package/dist/{src/commands → commands}/auth.d.ts +0 -0
- /package/dist/{src/commands → commands}/auth.js +0 -0
- /package/dist/{src/commands → commands}/build.d.ts +0 -0
- /package/dist/{src/commands → commands}/build.js +0 -0
- /package/dist/{src/commands → commands}/clean.d.ts +0 -0
- /package/dist/{src/commands → commands}/clean.js +0 -0
- /package/dist/{src/commands → commands}/codegen.d.ts +0 -0
- /package/dist/{src/commands → commands}/codegen.js +0 -0
- /package/dist/{src/commands → commands}/create.d.ts +0 -0
- /package/dist/{src/commands → commands}/deploy.d.ts +0 -0
- /package/dist/{src/commands → commands}/init.d.ts +0 -0
- /package/dist/{src/commands → commands}/init.js +0 -0
- /package/dist/{src/commands → commands}/local.d.ts +0 -0
- /package/dist/{src/commands → commands}/local.js +0 -0
- /package/dist/{src/commands → commands}/remove.d.ts +0 -0
- /package/dist/{src/commands → commands}/test.d.ts +0 -0
- /package/dist/{src/compiler → compiler}/asc.d.ts +0 -0
- /package/dist/{src/compiler → compiler}/asc.js +0 -0
- /package/dist/{src/compiler → compiler}/index.d.ts +0 -0
- /package/dist/{src/compiler → compiler}/index.js +0 -0
- /package/dist/{src/debug.d.ts → debug.d.ts} +0 -0
- /package/dist/{src/debug.js → debug.js} +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/index.js → index.js} +0 -0
- /package/dist/{src/migrations → migrations}/mapping_api_version_0_0_1.d.ts +0 -0
- /package/dist/{src/migrations → migrations}/mapping_api_version_0_0_1.js +0 -0
- /package/dist/{src/migrations → migrations}/mapping_api_version_0_0_2.d.ts +0 -0
- /package/dist/{src/migrations → migrations}/mapping_api_version_0_0_2.js +0 -0
- /package/dist/{src/migrations → migrations}/mapping_api_version_0_0_3.d.ts +0 -0
- /package/dist/{src/migrations → migrations}/mapping_api_version_0_0_3.js +0 -0
- /package/dist/{src/migrations → migrations}/mapping_api_version_0_0_4.d.ts +0 -0
- /package/dist/{src/migrations → migrations}/mapping_api_version_0_0_4.js +0 -0
- /package/dist/{src/migrations → migrations}/mapping_api_version_0_0_5.d.ts +0 -0
- /package/dist/{src/migrations → migrations}/mapping_api_version_0_0_5.js +0 -0
- /package/dist/{src/migrations → migrations}/spec_version_0_0_2.d.ts +0 -0
- /package/dist/{src/migrations → migrations}/spec_version_0_0_2.js +0 -0
- /package/dist/{src/migrations → migrations}/spec_version_0_0_3.d.ts +0 -0
- /package/dist/{src/migrations → migrations}/spec_version_0_0_3.js +0 -0
- /package/dist/{src/migrations → migrations}/util/load-manifest.d.ts +0 -0
- /package/dist/{src/migrations → migrations}/util/load-manifest.js +0 -0
- /package/dist/{src/migrations → migrations}/util/versions.d.ts +0 -0
- /package/dist/{src/migrations → migrations}/util/versions.js +0 -0
- /package/dist/{src/migrations.d.ts → migrations.d.ts} +0 -0
- /package/dist/{src/migrations.js → migrations.js} +0 -0
- /package/dist/{src/protocols → protocols}/arweave/scaffold/manifest.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/arweave/scaffold/manifest.js +0 -0
- /package/dist/{src/protocols → protocols}/arweave/scaffold/mapping.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/arweave/scaffold/mapping.js +0 -0
- /package/dist/{src/protocols → protocols}/arweave/subgraph.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/arweave/subgraph.js +0 -0
- /package/dist/{src/protocols → protocols}/contract.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/contract.js +0 -0
- /package/dist/{src/protocols → protocols}/cosmos/scaffold/manifest.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/cosmos/scaffold/manifest.js +0 -0
- /package/dist/{src/protocols → protocols}/cosmos/scaffold/mapping.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/cosmos/scaffold/mapping.js +0 -0
- /package/dist/{src/protocols → protocols}/cosmos/subgraph.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/cosmos/subgraph.js +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/abi.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/abi.js +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/codegen/abi.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/codegen/abi.js +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/codegen/abi.test.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/codegen/abi.test.js +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/codegen/template.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/codegen/template.js +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/contract.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/contract.js +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/scaffold/manifest.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/scaffold/manifest.js +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/scaffold/mapping.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/scaffold/mapping.js +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/subgraph.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/subgraph.js +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/type-generator.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/ethereum/type-generator.js +0 -0
- /package/dist/{src/protocols → protocols}/file_template.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/file_template.js +0 -0
- /package/dist/{src/protocols → protocols}/index.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/index.js +0 -0
- /package/dist/{src/protocols → protocols}/near/contract.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/near/contract.js +0 -0
- /package/dist/{src/protocols → protocols}/near/scaffold/manifest.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/near/scaffold/manifest.js +0 -0
- /package/dist/{src/protocols → protocols}/near/scaffold/mapping.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/near/scaffold/mapping.js +0 -0
- /package/dist/{src/protocols → protocols}/near/subgraph.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/near/subgraph.js +0 -0
- /package/dist/{src/protocols → protocols}/subgraph.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/subgraph.js +0 -0
- /package/dist/{src/protocols → protocols}/substreams/scaffold/manifest.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/substreams/scaffold/manifest.js +0 -0
- /package/dist/{src/protocols → protocols}/substreams/subgraph.d.ts +0 -0
- /package/dist/{src/protocols → protocols}/substreams/subgraph.js +0 -0
- /package/dist/{src/scaffold → scaffold}/cosmos.test.d.ts +0 -0
- /package/dist/{src/scaffold → scaffold}/cosmos.test.js +0 -0
- /package/dist/{src/scaffold → scaffold}/ethereum.test.d.ts +0 -0
- /package/dist/{src/scaffold → scaffold}/ethereum.test.js +0 -0
- /package/dist/{src/scaffold → scaffold}/index.d.ts +0 -0
- /package/dist/{src/scaffold → scaffold}/index.js +0 -0
- /package/dist/{src/scaffold → scaffold}/mapping.d.ts +0 -0
- /package/dist/{src/scaffold → scaffold}/mapping.js +0 -0
- /package/dist/{src/scaffold → scaffold}/near.test.d.ts +0 -0
- /package/dist/{src/scaffold → scaffold}/near.test.js +0 -0
- /package/dist/{src/scaffold → scaffold}/schema.d.ts +0 -0
- /package/dist/{src/scaffold → scaffold}/schema.js +0 -0
- /package/dist/{src/scaffold → scaffold}/tests.d.ts +0 -0
- /package/dist/{src/scaffold → scaffold}/tests.js +0 -0
- /package/dist/{src/schema.d.ts → schema.d.ts} +0 -0
- /package/dist/{src/schema.js → schema.js} +0 -0
- /package/dist/{src/subgraph.d.ts → subgraph.d.ts} +0 -0
- /package/dist/{src/subgraph.js → subgraph.js} +0 -0
- /package/dist/{src/type-generator.d.ts → type-generator.d.ts} +0 -0
- /package/dist/{src/type-generator.js → type-generator.js} +0 -0
- /package/dist/{src/validation → validation}/contract.d.ts +0 -0
- /package/dist/{src/validation → validation}/contract.js +0 -0
- /package/dist/{src/validation → validation}/index.d.ts +0 -0
- /package/dist/{src/validation → validation}/index.js +0 -0
- /package/dist/{src/validation → validation}/manifest.d.ts +0 -0
- /package/dist/{src/validation → validation}/manifest.js +0 -0
- /package/dist/{src/validation → validation}/schema.d.ts +0 -0
- /package/dist/{src/validation → validation}/schema.js +0 -0
- /package/dist/{src/validation → validation}/schema.test.d.ts +0 -0
- /package/dist/{src/validation → validation}/schema.test.js +0 -0
- /package/dist/{src/version.d.ts → version.d.ts} +0 -0
- /package/dist/{src/version.js → version.js} +0 -0
- /package/dist/{src/watcher.d.ts → watcher.d.ts} +0 -0
- /package/dist/{src/watcher.js → watcher.js} +0 -0
package/oclif.manifest.json
CHANGED
|
@@ -1,4 +1,867 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.59.0
|
|
3
|
-
"commands": {
|
|
2
|
+
"version": "0.59.0",
|
|
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-ethereum": {
|
|
728
|
+
"name": "skip-wait-for-ethereum",
|
|
729
|
+
"type": "boolean",
|
|
730
|
+
"summary": "Don't wait for Ethereum to be up at localhost:18545",
|
|
731
|
+
"allowNo": false
|
|
732
|
+
},
|
|
733
|
+
"skip-wait-for-etherium": {
|
|
734
|
+
"name": "skip-wait-for-etherium",
|
|
735
|
+
"type": "boolean",
|
|
736
|
+
"summary": "Don't wait for Ethereum to be up at localhost:18545",
|
|
737
|
+
"allowNo": false,
|
|
738
|
+
"deprecated": {
|
|
739
|
+
"message": "Use --skip-wait-for-ethereum instead"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"skip-wait-for-postgres": {
|
|
743
|
+
"name": "skip-wait-for-postgres",
|
|
744
|
+
"type": "boolean",
|
|
745
|
+
"summary": "Don't wait for Postgres to be up at localhost:15432",
|
|
746
|
+
"allowNo": false
|
|
747
|
+
},
|
|
748
|
+
"timeout": {
|
|
749
|
+
"name": "timeout",
|
|
750
|
+
"type": "option",
|
|
751
|
+
"summary": "Time to wait for service containers in milliseconds.",
|
|
752
|
+
"multiple": false,
|
|
753
|
+
"default": 120000
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
"args": {
|
|
757
|
+
"local-command": {
|
|
758
|
+
"name": "local-command",
|
|
759
|
+
"required": true
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
"remove": {
|
|
764
|
+
"id": "remove",
|
|
765
|
+
"description": "Unregisters a subgraph name",
|
|
766
|
+
"strict": true,
|
|
767
|
+
"pluginName": "@graphprotocol/graph-cli",
|
|
768
|
+
"pluginAlias": "@graphprotocol/graph-cli",
|
|
769
|
+
"pluginType": "core",
|
|
770
|
+
"aliases": [],
|
|
771
|
+
"flags": {
|
|
772
|
+
"help": {
|
|
773
|
+
"name": "help",
|
|
774
|
+
"type": "boolean",
|
|
775
|
+
"char": "h",
|
|
776
|
+
"description": "Show CLI help.",
|
|
777
|
+
"allowNo": false
|
|
778
|
+
},
|
|
779
|
+
"node": {
|
|
780
|
+
"name": "node",
|
|
781
|
+
"type": "option",
|
|
782
|
+
"char": "g",
|
|
783
|
+
"summary": "Graph node to delete the subgraph from.",
|
|
784
|
+
"required": true,
|
|
785
|
+
"multiple": false
|
|
786
|
+
},
|
|
787
|
+
"access-token": {
|
|
788
|
+
"name": "access-token",
|
|
789
|
+
"type": "option",
|
|
790
|
+
"summary": "Graph access token.",
|
|
791
|
+
"multiple": false
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
"args": {
|
|
795
|
+
"subgraph-name": {
|
|
796
|
+
"name": "subgraph-name",
|
|
797
|
+
"required": true
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"test": {
|
|
802
|
+
"id": "test",
|
|
803
|
+
"description": "Runs rust binary for subgraph testing.",
|
|
804
|
+
"strict": true,
|
|
805
|
+
"pluginName": "@graphprotocol/graph-cli",
|
|
806
|
+
"pluginAlias": "@graphprotocol/graph-cli",
|
|
807
|
+
"pluginType": "core",
|
|
808
|
+
"aliases": [],
|
|
809
|
+
"flags": {
|
|
810
|
+
"help": {
|
|
811
|
+
"name": "help",
|
|
812
|
+
"type": "boolean",
|
|
813
|
+
"char": "h",
|
|
814
|
+
"description": "Show CLI help.",
|
|
815
|
+
"allowNo": false
|
|
816
|
+
},
|
|
817
|
+
"coverage": {
|
|
818
|
+
"name": "coverage",
|
|
819
|
+
"type": "boolean",
|
|
820
|
+
"char": "c",
|
|
821
|
+
"summary": "Run the tests in coverage mode.",
|
|
822
|
+
"allowNo": false
|
|
823
|
+
},
|
|
824
|
+
"docker": {
|
|
825
|
+
"name": "docker",
|
|
826
|
+
"type": "boolean",
|
|
827
|
+
"char": "d",
|
|
828
|
+
"summary": "Run the tests in a docker container (Note: Please execute from the root folder of the subgraph).",
|
|
829
|
+
"allowNo": false
|
|
830
|
+
},
|
|
831
|
+
"force": {
|
|
832
|
+
"name": "force",
|
|
833
|
+
"type": "boolean",
|
|
834
|
+
"char": "f",
|
|
835
|
+
"summary": "Binary - overwrites folder + file when downloading. Docker - rebuilds the docker image.",
|
|
836
|
+
"allowNo": false
|
|
837
|
+
},
|
|
838
|
+
"logs": {
|
|
839
|
+
"name": "logs",
|
|
840
|
+
"type": "boolean",
|
|
841
|
+
"char": "l",
|
|
842
|
+
"summary": "Logs to the console information about the OS, CPU model and download url (debugging purposes).",
|
|
843
|
+
"allowNo": false
|
|
844
|
+
},
|
|
845
|
+
"recompile": {
|
|
846
|
+
"name": "recompile",
|
|
847
|
+
"type": "boolean",
|
|
848
|
+
"char": "r",
|
|
849
|
+
"summary": "Force-recompile tests.",
|
|
850
|
+
"allowNo": false
|
|
851
|
+
},
|
|
852
|
+
"version": {
|
|
853
|
+
"name": "version",
|
|
854
|
+
"type": "option",
|
|
855
|
+
"char": "v",
|
|
856
|
+
"summary": "Choose the version of the rust binary that you want to be downloaded/used.",
|
|
857
|
+
"multiple": false
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
"args": {
|
|
861
|
+
"datasource": {
|
|
862
|
+
"name": "datasource"
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
}
|
|
4
867
|
}
|