Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Commit 4d03a19

Browse files
author
antblood
committed
1.15.0
1 parent 46f15d3 commit 4d03a19

File tree

3 files changed

+16
-44
lines changed

3 files changed

+16
-44
lines changed

README.md

+14-42
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $ npm install -g slash-graphql
2020
$ slash-graphql COMMAND
2121
running command...
2222
$ slash-graphql (-v|--version|version)
23-
slash-graphql/1.14.2 darwin-x64 node-v14.4.0
23+
slash-graphql/1.15.0 darwin-x64 node-v14.9.0
2424
$ slash-graphql --help [COMMAND]
2525
USAGE
2626
$ slash-graphql COMMAND
@@ -33,7 +33,6 @@ USAGE
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)
3736
* [`slash-graphql export-data OUTPUTDIR`](#slash-graphql-export-data-outputdir)
3837
* [`slash-graphql get-schema [FILE]`](#slash-graphql-get-schema-file)
3938
* [`slash-graphql help [COMMAND]`](#slash-graphql-help-command)
@@ -73,7 +72,7 @@ EXAMPLE
7372
$ slash-graphql deploy-backend "My New Backend"
7473
```
7574

76-
_See code: [src/commands/deploy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/src/commands/deploy-backend.ts)_
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)_
7776

7877
## `slash-graphql destroy-backend ID`
7978

@@ -94,34 +93,7 @@ EXAMPLE
9493
$ slash-graphql destroy-backend "0xid"
9594
```
9695

97-
_See code: [src/commands/destroy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/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.14.2/src/commands/drop.ts)_
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)_
12597

12698
## `slash-graphql export-data OUTPUTDIR`
12799

@@ -143,7 +115,7 @@ EXAMPLE
143115
$ slash-graphql export-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./output-directory
144116
```
145117

146-
_See code: [src/commands/export-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/src/commands/export-data.ts)_
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)_
147119

148120
## `slash-graphql get-schema [FILE]`
149121

@@ -168,7 +140,7 @@ EXAMPLES
168140
$ slash-graphql get-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> -g
169141
```
170142

171-
_See code: [src/commands/get-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/src/commands/get-schema.ts)_
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)_
172144

173145
## `slash-graphql help [COMMAND]`
174146

@@ -208,7 +180,7 @@ EXAMPLE
208180
$ slash-graphql import-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./import-directory
209181
```
210182

211-
_See code: [src/commands/import-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/src/commands/import-data.ts)_
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)_
212184

213185
## `slash-graphql list-backends`
214186

@@ -234,7 +206,7 @@ EXAMPLES
234206
$ slash-graphql list-backends --csv
235207
```
236208

237-
_See code: [src/commands/list-backends.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/src/commands/list-backends.ts)_
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)_
238210

239211
## `slash-graphql list-backups`
240212

@@ -253,7 +225,7 @@ EXAMPLE
253225
$ slash-graphql list-backups -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken>
254226
```
255227

256-
_See code: [src/commands/list-backups.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/src/commands/list-backups.ts)_
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)_
257229

258230
## `slash-graphql login`
259231

@@ -270,7 +242,7 @@ EXAMPLE
270242
$ slash-graphql login
271243
```
272244

273-
_See code: [src/commands/login.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/src/commands/login.ts)_
245+
_See code: [src/commands/login.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0/src/commands/login.ts)_
274246

275247
## `slash-graphql logout`
276248

@@ -289,7 +261,7 @@ EXAMPLES
289261
$ slash-graphql logout -a
290262
```
291263

292-
_See code: [src/commands/logout.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/src/commands/logout.ts)_
264+
_See code: [src/commands/logout.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0/src/commands/logout.ts)_
293265

294266
## `slash-graphql restore-backend`
295267

@@ -311,7 +283,7 @@ EXAMPLE
311283
url>
312284
```
313285

314-
_See code: [src/commands/restore-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/src/commands/restore-backend.ts)_
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)_
315287

316288
## `slash-graphql restore-backend-status RESTOREID`
317289

@@ -333,7 +305,7 @@ EXAMPLE
333305
$ slash-graphql restore-backend-status -e https://clone.cloud.dgraph.io/graphql -t <apiToken> "restoreID"
334306
```
335307

336-
_See code: [src/commands/restore-backend-status.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/src/commands/restore-backend-status.ts)_
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)_
337309

338310
## `slash-graphql update [CHANNEL]`
339311

@@ -367,7 +339,7 @@ EXAMPLE
367339
$ slash-graphql update-backend -n "New Name" 0xid
368340
```
369341

370-
_See code: [src/commands/update-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/src/commands/update-backend.ts)_
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)_
371343

372344
## `slash-graphql update-schema [FILE]`
373345

@@ -389,5 +361,5 @@ EXAMPLE
389361
$ slash-graphql update-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> schema-file.graphql
390362
```
391363

392-
_See code: [src/commands/update-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.14.2/src/commands/update-schema.ts)_
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)_
393365
<!-- commandsstop -->

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "slash-graphql",
33
"description": "Command Line Tools to Manage Slash GraphQL",
4-
"version": "1.14.2",
4+
"version": "1.15.0",
55
"author": "Dgraph Labs @dgraphlabs",
66
"bin": {
77
"slash-graphql": "./bin/run"

0 commit comments

Comments
 (0)