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

Commit c4f4f61

Browse files
author
antblood
committed
1.17.0
1 parent 7838cf1 commit c4f4f61

3 files changed

Lines changed: 43 additions & 31 deletions

File tree

README.md

Lines changed: 41 additions & 29 deletions
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.16.7 darwin-x64 node-v14.15.1
23+
slash-graphql/1.17.0 darwin-x64 node-v14.9.0
2424
$ slash-graphql --help [COMMAND]
2525
USAGE
2626
$ slash-graphql COMMAND
@@ -46,7 +46,7 @@ USAGE
4646
* [`slash-graphql list-backends`](#slash-graphql-list-backends)
4747
* [`slash-graphql list-backups`](#slash-graphql-list-backups)
4848
* [`slash-graphql list-organizations`](#slash-graphql-list-organizations)
49-
* [`slash-graphql login`](#slash-graphql-login)
49+
* [`slash-graphql login EMAIL PASSWORD`](#slash-graphql-login-email-password)
5050
* [`slash-graphql logout`](#slash-graphql-logout)
5151
* [`slash-graphql remove-member-from-organization ORGANIZATION MEMBER`](#slash-graphql-remove-member-from-organization-organization-member)
5252
* [`slash-graphql restore-backend`](#slash-graphql-restore-backend)
@@ -75,7 +75,7 @@ EXAMPLE
7575
$ slash-graphql add-member-to-organization 0x123 user@dgraph.io
7676
```
7777

78-
_See code: [src/commands/add-member-to-organization.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/add-member-to-organization.ts)_
78+
_See code: [src/commands/add-member-to-organization.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/add-member-to-organization.ts)_
7979

8080
## `slash-graphql create-organization NAME`
8181

@@ -95,7 +95,7 @@ EXAMPLE
9595
$ slash-graphql create-organization myNewOrganization
9696
```
9797

98-
_See code: [src/commands/create-organization.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/create-organization.ts)_
98+
_See code: [src/commands/create-organization.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/create-organization.ts)_
9999

100100
## `slash-graphql delete-lambda`
101101

@@ -116,7 +116,7 @@ EXAMPLES
116116
$ slash-graphql delete-lambda -e 0x1234
117117
```
118118

119-
_See code: [src/commands/delete-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/delete-lambda.ts)_
119+
_See code: [src/commands/delete-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/delete-lambda.ts)_
120120

121121
## `slash-graphql deploy-backend NAME`
122122

@@ -130,21 +130,33 @@ ARGUMENTS
130130
NAME Backend Name
131131
132132
OPTIONS
133+
-T, --type=slash-graphql|dedicated [default: slash-graphql] Backend Type
133134
-m, --mode=readonly|graphql|flexible [default: graphql] Backend Mode
134135
-o, --organizationId=organizationId Organization ID
135136
-q, --quiet Quiet Output
136137
-r, --region=region Region
137138
-s, --subdomain=subdomain Subdomain
139+
--acl=true|false [default: false] Enable ACL (Only works for dedicated backends)
140+
--dataFile=dataFile Data File Path for Bulk Loader (Only works for dedicated backends)
141+
--dgraphHA=true|false [default: false] Enable High Availability (Only works for dedicated backends)
142+
--gqlSchemaFile=gqlSchemaFile GQL Schema File Path for Bulk Loader (Only works for dedicated backends)
143+
--jaeger=true|false [default: false] Enable Jaeger (Only works for dedicated backends)
144+
--schemaFile=schemaFile Dgraph Schema File Path for Bulk Loader (Only works for dedicated backends)
145+
--size=small|medium|large|xlarge [default: small] Backend Size (Only Works for dedicated backends)
146+
147+
--storage=storage [default: 10] Alpha Storage in GBs - Accepts Only Integers (Only Works for
148+
dedicated backends)
138149
139150
ALIASES
140151
$ slash-graphql create-backend
141152
$ slash-graphql launch-backend
142153
143-
EXAMPLE
154+
EXAMPLES
155+
$ slash-graphql deploy-backend "My New Backend"
144156
$ slash-graphql deploy-backend "My New Backend"
145157
```
146158

147-
_See code: [src/commands/deploy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/deploy-backend.ts)_
159+
_See code: [src/commands/deploy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/deploy-backend.ts)_
148160

149161
## `slash-graphql destroy-backend ID`
150162

@@ -165,7 +177,7 @@ EXAMPLE
165177
$ slash-graphql destroy-backend "0xid"
166178
```
167179

168-
_See code: [src/commands/destroy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/destroy-backend.ts)_
180+
_See code: [src/commands/destroy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/destroy-backend.ts)_
169181

170182
## `slash-graphql drop`
171183

@@ -192,7 +204,7 @@ EXAMPLE
192204
<fields>]
193205
```
194206

195-
_See code: [src/commands/drop.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/drop.ts)_
207+
_See code: [src/commands/drop.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/drop.ts)_
196208

197209
## `slash-graphql export-data OUTPUTDIR`
198210

@@ -214,7 +226,7 @@ EXAMPLE
214226
$ slash-graphql export-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./output-directory
215227
```
216228

217-
_See code: [src/commands/export-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/export-data.ts)_
229+
_See code: [src/commands/export-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/export-data.ts)_
218230

219231
## `slash-graphql get-lambda`
220232

@@ -234,7 +246,7 @@ EXAMPLES
234246
$ slash-graphql get-lambda -e 0x1234
235247
```
236248

237-
_See code: [src/commands/get-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/get-lambda.ts)_
249+
_See code: [src/commands/get-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/get-lambda.ts)_
238250

239251
## `slash-graphql get-schema [FILE]`
240252

@@ -259,7 +271,7 @@ EXAMPLES
259271
$ slash-graphql get-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> -g
260272
```
261273

262-
_See code: [src/commands/get-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/get-schema.ts)_
274+
_See code: [src/commands/get-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/get-schema.ts)_
263275

264276
## `slash-graphql help [COMMAND]`
265277

@@ -299,7 +311,7 @@ EXAMPLE
299311
$ slash-graphql import-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./import-directory
300312
```
301313

302-
_See code: [src/commands/import-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/import-data.ts)_
314+
_See code: [src/commands/import-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/import-data.ts)_
303315

304316
## `slash-graphql lambda-logs`
305317

@@ -320,7 +332,7 @@ EXAMPLES
320332
$ slash-graphql lambda-logs -e 0x1234 -h 5
321333
```
322334

323-
_See code: [src/commands/lambda-logs.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/lambda-logs.ts)_
335+
_See code: [src/commands/lambda-logs.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/lambda-logs.ts)_
324336

325337
## `slash-graphql list-backends`
326338

@@ -346,7 +358,7 @@ EXAMPLES
346358
$ slash-graphql list-backends --csv
347359
```
348360

349-
_See code: [src/commands/list-backends.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/list-backends.ts)_
361+
_See code: [src/commands/list-backends.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/list-backends.ts)_
350362

351363
## `slash-graphql list-backups`
352364

@@ -365,7 +377,7 @@ EXAMPLE
365377
$ slash-graphql list-backups -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken>
366378
```
367379

368-
_See code: [src/commands/list-backups.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/list-backups.ts)_
380+
_See code: [src/commands/list-backups.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/list-backups.ts)_
369381

370382
## `slash-graphql list-organizations`
371383

@@ -382,24 +394,24 @@ EXAMPLE
382394
$ slash-graphql list-organizations
383395
```
384396

385-
_See code: [src/commands/list-organizations.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/list-organizations.ts)_
397+
_See code: [src/commands/list-organizations.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/list-organizations.ts)_
386398

387-
## `slash-graphql login`
399+
## `slash-graphql login EMAIL PASSWORD`
388400

389401
Login to Slash GraphQL. Calling this function will keep you logged in for 24 hours, and you will not need to pass access tokens for any backends that you own
390402

391403
```
392404
USAGE
393-
$ slash-graphql login
405+
$ slash-graphql login EMAIL PASSWORD
394406
395407
OPTIONS
396408
-q, --quiet Quiet Output
397409
398410
EXAMPLE
399-
$ slash-graphql login
411+
$ slash-graphql login email password
400412
```
401413

402-
_See code: [src/commands/login.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/login.ts)_
414+
_See code: [src/commands/login.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/login.ts)_
403415

404416
## `slash-graphql logout`
405417

@@ -418,7 +430,7 @@ EXAMPLES
418430
$ slash-graphql logout -a
419431
```
420432

421-
_See code: [src/commands/logout.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/logout.ts)_
433+
_See code: [src/commands/logout.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/logout.ts)_
422434

423435
## `slash-graphql remove-member-from-organization ORGANIZATION MEMBER`
424436

@@ -439,7 +451,7 @@ EXAMPLE
439451
$ slash-graphql remove-organization-member 0x123 member@dgraph.io
440452
```
441453

442-
_See code: [src/commands/remove-member-from-organization.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/remove-member-from-organization.ts)_
454+
_See code: [src/commands/remove-member-from-organization.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/remove-member-from-organization.ts)_
443455

444456
## `slash-graphql restore-backend`
445457

@@ -463,7 +475,7 @@ EXAMPLE
463475
url> [-f <backup folder> -n <backup number>]
464476
```
465477

466-
_See code: [src/commands/restore-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/restore-backend.ts)_
478+
_See code: [src/commands/restore-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/restore-backend.ts)_
467479

468480
## `slash-graphql restore-backend-status RESTOREID`
469481

@@ -485,7 +497,7 @@ EXAMPLE
485497
$ slash-graphql restore-backend-status -e https://clone.cloud.dgraph.io/graphql -t <apiToken> "restoreID"
486498
```
487499

488-
_See code: [src/commands/restore-backend-status.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/restore-backend-status.ts)_
500+
_See code: [src/commands/restore-backend-status.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/restore-backend-status.ts)_
489501

490502
## `slash-graphql update [CHANNEL]`
491503

@@ -519,7 +531,7 @@ EXAMPLE
519531
$ slash-graphql update-backend -e 0xid -n "New Name" -m flexible
520532
```
521533

522-
_See code: [src/commands/update-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/update-backend.ts)_
534+
_See code: [src/commands/update-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/update-backend.ts)_
523535

524536
## `slash-graphql update-lambda`
525537

@@ -540,7 +552,7 @@ EXAMPLES
540552
$ slash-graphql update-lambda -e 0x1234 -f /home/user/Downloads/script.js
541553
```
542554

543-
_See code: [src/commands/update-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/update-lambda.ts)_
555+
_See code: [src/commands/update-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/update-lambda.ts)_
544556

545557
## `slash-graphql update-schema [FILE]`
546558

@@ -562,5 +574,5 @@ EXAMPLE
562574
$ slash-graphql update-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> schema-file.graphql
563575
```
564576

565-
_See code: [src/commands/update-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/update-schema.ts)_
566-
<!-- commandsstop -->
577+
_See code: [src/commands/update-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/update-schema.ts)_
578+
<!-- commandsstop -->

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
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.16.7",
4+
"version": "1.17.0",
55
"author": "Dgraph Labs @dgraphlabs",
66
"bin": {
77
"slash-graphql": "./bin/run"

0 commit comments

Comments
 (0)