@@ -20,7 +20,7 @@ $ npm install -g slash-graphql
20
20
$ slash-graphql COMMAND
21
21
running command...
22
22
$ slash-graphql (-v| --version| version)
23
- slash-graphql/1.15.0 darwin-x64 node-v14.9.0
23
+ slash-graphql/1.15.1 darwin-x64 node-v14.9.0
24
24
$ slash-graphql --help [COMMAND]
25
25
USAGE
26
26
$ slash-graphql COMMAND
33
33
<!-- commands -->
34
34
* [ ` slash-graphql deploy-backend NAME ` ] ( #slash-graphql-deploy-backend-name )
35
35
* [ ` slash-graphql destroy-backend ID ` ] ( #slash-graphql-destroy-backend-id )
36
+ * [ ` slash-graphql drop ` ] ( #slash-graphql-drop )
36
37
* [ ` slash-graphql export-data OUTPUTDIR ` ] ( #slash-graphql-export-data-outputdir )
37
38
* [ ` slash-graphql get-schema [FILE] ` ] ( #slash-graphql-get-schema-file )
38
39
* [ ` slash-graphql help [COMMAND] ` ] ( #slash-graphql-help-command )
@@ -72,7 +73,7 @@ EXAMPLE
72
73
$ slash-graphql deploy-backend "My New Backend"
73
74
```
74
75
75
- _ See code: [ src/commands/deploy-backend.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0 /src/commands/deploy-backend.ts ) _
76
+ _ See code: [ src/commands/deploy-backend.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1 /src/commands/deploy-backend.ts ) _
76
77
77
78
## ` slash-graphql destroy-backend ID `
78
79
@@ -93,7 +94,34 @@ EXAMPLE
93
94
$ slash-graphql destroy-backend "0xid"
94
95
```
95
96
96
- _ See code: [ src/commands/destroy-backend.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0/src/commands/destroy-backend.ts ) _
97
+ _ See code: [ src/commands/destroy-backend.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/destroy-backend.ts ) _
98
+
99
+ ## ` slash-graphql drop `
100
+
101
+ Drop all data in your backend
102
+
103
+ ```
104
+ USAGE
105
+ $ slash-graphql drop
106
+
107
+ OPTIONS
108
+ -F, --drop-fields=drop-fields Drop types
109
+ -T, --drop-types=drop-types Drop types
110
+ -d, --drop-data Drop data and leave the schema
111
+ -e, --endpoint=endpoint Slash GraphQL Endpoint
112
+ -l, --list-unused List unused types and fields
113
+ -q, --quiet Quiet Output
114
+ -s, --drop-schema Drop Schema along with the data
115
+ -t, --token=token Slash GraphQL Backend API Tokens
116
+ -u, --drop-unused Drops all unused types and fields
117
+ -y, --confirm Skip Confirmation
118
+
119
+ EXAMPLE
120
+ $ slash-graphql drop -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> [-l] [-d] [-s] [-T <types>] [-F
121
+ <fields>]
122
+ ```
123
+
124
+ _ See code: [ src/commands/drop.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/drop.ts ) _
97
125
98
126
## ` slash-graphql export-data OUTPUTDIR `
99
127
@@ -115,7 +143,7 @@ EXAMPLE
115
143
$ slash-graphql export-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./output-directory
116
144
```
117
145
118
- _ See code: [ src/commands/export-data.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0 /src/commands/export-data.ts ) _
146
+ _ See code: [ src/commands/export-data.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1 /src/commands/export-data.ts ) _
119
147
120
148
## ` slash-graphql get-schema [FILE] `
121
149
@@ -140,7 +168,7 @@ EXAMPLES
140
168
$ slash-graphql get-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> -g
141
169
```
142
170
143
- _ See code: [ src/commands/get-schema.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0 /src/commands/get-schema.ts ) _
171
+ _ See code: [ src/commands/get-schema.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1 /src/commands/get-schema.ts ) _
144
172
145
173
## ` slash-graphql help [COMMAND] `
146
174
@@ -180,7 +208,7 @@ EXAMPLE
180
208
$ slash-graphql import-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./import-directory
181
209
```
182
210
183
- _ See code: [ src/commands/import-data.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0 /src/commands/import-data.ts ) _
211
+ _ See code: [ src/commands/import-data.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1 /src/commands/import-data.ts ) _
184
212
185
213
## ` slash-graphql list-backends `
186
214
@@ -206,7 +234,7 @@ EXAMPLES
206
234
$ slash-graphql list-backends --csv
207
235
```
208
236
209
- _ See code: [ src/commands/list-backends.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0 /src/commands/list-backends.ts ) _
237
+ _ See code: [ src/commands/list-backends.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1 /src/commands/list-backends.ts ) _
210
238
211
239
## ` slash-graphql list-backups `
212
240
@@ -225,7 +253,7 @@ EXAMPLE
225
253
$ slash-graphql list-backups -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken>
226
254
```
227
255
228
- _ See code: [ src/commands/list-backups.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0 /src/commands/list-backups.ts ) _
256
+ _ See code: [ src/commands/list-backups.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1 /src/commands/list-backups.ts ) _
229
257
230
258
## ` slash-graphql login `
231
259
@@ -242,7 +270,7 @@ EXAMPLE
242
270
$ slash-graphql login
243
271
```
244
272
245
- _ See code: [ src/commands/login.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0 /src/commands/login.ts ) _
273
+ _ See code: [ src/commands/login.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1 /src/commands/login.ts ) _
246
274
247
275
## ` slash-graphql logout `
248
276
@@ -261,7 +289,7 @@ EXAMPLES
261
289
$ slash-graphql logout -a
262
290
```
263
291
264
- _ See code: [ src/commands/logout.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0 /src/commands/logout.ts ) _
292
+ _ See code: [ src/commands/logout.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1 /src/commands/logout.ts ) _
265
293
266
294
## ` slash-graphql restore-backend `
267
295
@@ -283,7 +311,7 @@ EXAMPLE
283
311
url>
284
312
```
285
313
286
- _ See code: [ src/commands/restore-backend.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0 /src/commands/restore-backend.ts ) _
314
+ _ See code: [ src/commands/restore-backend.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1 /src/commands/restore-backend.ts ) _
287
315
288
316
## ` slash-graphql restore-backend-status RESTOREID `
289
317
@@ -305,7 +333,7 @@ EXAMPLE
305
333
$ slash-graphql restore-backend-status -e https://clone.cloud.dgraph.io/graphql -t <apiToken> "restoreID"
306
334
```
307
335
308
- _ See code: [ src/commands/restore-backend-status.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0 /src/commands/restore-backend-status.ts ) _
336
+ _ See code: [ src/commands/restore-backend-status.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1 /src/commands/restore-backend-status.ts ) _
309
337
310
338
## ` slash-graphql update [CHANNEL] `
311
339
@@ -339,7 +367,7 @@ EXAMPLE
339
367
$ slash-graphql update-backend -n "New Name" 0xid
340
368
```
341
369
342
- _ See code: [ src/commands/update-backend.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0 /src/commands/update-backend.ts ) _
370
+ _ See code: [ src/commands/update-backend.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1 /src/commands/update-backend.ts ) _
343
371
344
372
## ` slash-graphql update-schema [FILE] `
345
373
@@ -361,5 +389,5 @@ EXAMPLE
361
389
$ slash-graphql update-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> schema-file.graphql
362
390
```
363
391
364
- _ See code: [ src/commands/update-schema.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0 /src/commands/update-schema.ts ) _
392
+ _ See code: [ src/commands/update-schema.ts] ( https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1 /src/commands/update-schema.ts ) _
365
393
<!-- commandsstop -->
0 commit comments