@@ -20,7 +20,7 @@ $ npm install -g slash-graphql
2020$ slash-graphql COMMAND
2121running command...
2222$ 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
2424$ slash-graphql --help [COMMAND]
2525USAGE
2626 $ slash-graphql COMMAND
3333<!-- commands -->
3434* [ ` slash-graphql deploy-backend NAME ` ] ( #slash-graphql-deploy-backend-name )
3535* [ ` slash-graphql destroy-backend ID ` ] ( #slash-graphql-destroy-backend-id )
36+ * [ ` slash-graphql drop ` ] ( #slash-graphql-drop )
3637* [ ` slash-graphql export-data OUTPUTDIR ` ] ( #slash-graphql-export-data-outputdir )
3738* [ ` slash-graphql get-schema [FILE] ` ] ( #slash-graphql-get-schema-file )
3839* [ ` slash-graphql help [COMMAND] ` ] ( #slash-graphql-help-command )
@@ -72,7 +73,7 @@ EXAMPLE
7273 $ slash-graphql deploy-backend "My New Backend"
7374```
7475
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 ) _
7677
7778## ` slash-graphql destroy-backend ID `
7879
@@ -93,7 +94,34 @@ EXAMPLE
9394 $ slash-graphql destroy-backend "0xid"
9495```
9596
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 ) _
97125
98126## ` slash-graphql export-data OUTPUTDIR `
99127
@@ -115,7 +143,7 @@ EXAMPLE
115143 $ slash-graphql export-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./output-directory
116144```
117145
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 ) _
119147
120148## ` slash-graphql get-schema [FILE] `
121149
@@ -140,7 +168,7 @@ EXAMPLES
140168 $ slash-graphql get-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> -g
141169```
142170
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 ) _
144172
145173## ` slash-graphql help [COMMAND] `
146174
@@ -180,7 +208,7 @@ EXAMPLE
180208 $ slash-graphql import-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./import-directory
181209```
182210
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 ) _
184212
185213## ` slash-graphql list-backends `
186214
@@ -206,7 +234,7 @@ EXAMPLES
206234 $ slash-graphql list-backends --csv
207235```
208236
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 ) _
210238
211239## ` slash-graphql list-backups `
212240
@@ -225,7 +253,7 @@ EXAMPLE
225253 $ slash-graphql list-backups -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken>
226254```
227255
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 ) _
229257
230258## ` slash-graphql login `
231259
@@ -242,7 +270,7 @@ EXAMPLE
242270 $ slash-graphql login
243271```
244272
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 ) _
246274
247275## ` slash-graphql logout `
248276
@@ -261,7 +289,7 @@ EXAMPLES
261289 $ slash-graphql logout -a
262290```
263291
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 ) _
265293
266294## ` slash-graphql restore-backend `
267295
@@ -283,7 +311,7 @@ EXAMPLE
283311 url>
284312```
285313
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 ) _
287315
288316## ` slash-graphql restore-backend-status RESTOREID `
289317
@@ -305,7 +333,7 @@ EXAMPLE
305333 $ slash-graphql restore-backend-status -e https://clone.cloud.dgraph.io/graphql -t <apiToken> "restoreID"
306334```
307335
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 ) _
309337
310338## ` slash-graphql update [CHANNEL] `
311339
@@ -339,7 +367,7 @@ EXAMPLE
339367 $ slash-graphql update-backend -n "New Name" 0xid
340368```
341369
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 ) _
343371
344372## ` slash-graphql update-schema [FILE] `
345373
@@ -361,5 +389,5 @@ EXAMPLE
361389 $ slash-graphql update-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> schema-file.graphql
362390```
363391
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 ) _
365393<!-- commandsstop -->
0 commit comments