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

Commit a0f60ef

Browse files
author
antblood
committedDec 17, 2020
1.16.5
1 parent da553eb commit a0f60ef

File tree

3 files changed

+106
-21
lines changed

3 files changed

+106
-21
lines changed
 

‎README.md

+104-19
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.4 darwin-x64 node-v14.9.0
23+
slash-graphql/1.16.5 darwin-x64 node-v14.9.0
2424
$ slash-graphql --help [COMMAND]
2525
USAGE
2626
$ slash-graphql COMMAND
@@ -31,6 +31,8 @@ USAGE
3131
# Commands
3232

3333
<!-- commands -->
34+
* [`slash-graphql add-member-to-organization ORGANIZATION MEMBER`](#slash-graphql-add-member-to-organization-organization-member)
35+
* [`slash-graphql create-organization NAME`](#slash-graphql-create-organization-name)
3436
* [`slash-graphql delete-lambda`](#slash-graphql-delete-lambda)
3537
* [`slash-graphql deploy-backend NAME`](#slash-graphql-deploy-backend-name)
3638
* [`slash-graphql destroy-backend ID`](#slash-graphql-destroy-backend-id)
@@ -43,15 +45,58 @@ USAGE
4345
* [`slash-graphql lambda-logs`](#slash-graphql-lambda-logs)
4446
* [`slash-graphql list-backends`](#slash-graphql-list-backends)
4547
* [`slash-graphql list-backups`](#slash-graphql-list-backups)
48+
* [`slash-graphql list-organizations`](#slash-graphql-list-organizations)
4649
* [`slash-graphql login`](#slash-graphql-login)
4750
* [`slash-graphql logout`](#slash-graphql-logout)
51+
* [`slash-graphql remove-member-from-organization ORGANIZATION MEMBER`](#slash-graphql-remove-member-from-organization-organization-member)
4852
* [`slash-graphql restore-backend`](#slash-graphql-restore-backend)
4953
* [`slash-graphql restore-backend-status RESTOREID`](#slash-graphql-restore-backend-status-restoreid)
5054
* [`slash-graphql update [CHANNEL]`](#slash-graphql-update-channel)
5155
* [`slash-graphql update-backend ID`](#slash-graphql-update-backend-id)
5256
* [`slash-graphql update-lambda`](#slash-graphql-update-lambda)
5357
* [`slash-graphql update-schema [FILE]`](#slash-graphql-update-schema-file)
5458

59+
## `slash-graphql add-member-to-organization ORGANIZATION MEMBER`
60+
61+
Add a Member to an Organization
62+
63+
```
64+
USAGE
65+
$ slash-graphql add-member-to-organization ORGANIZATION MEMBER
66+
67+
ARGUMENTS
68+
ORGANIZATION Organization Name
69+
MEMBER Member Email Address
70+
71+
OPTIONS
72+
-q, --quiet Quiet Output
73+
74+
EXAMPLE
75+
$ slash-graphql add-member-to-organization 0x123 user@dgraph.io
76+
```
77+
78+
_See code: [src/commands/add-member-to-organization.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/add-member-to-organization.ts)_
79+
80+
## `slash-graphql create-organization NAME`
81+
82+
Create an Organization
83+
84+
```
85+
USAGE
86+
$ slash-graphql create-organization NAME
87+
88+
ARGUMENTS
89+
NAME Organization Name
90+
91+
OPTIONS
92+
-q, --quiet Quiet Output
93+
94+
EXAMPLE
95+
$ slash-graphql create-organization myNewOrganization
96+
```
97+
98+
_See code: [src/commands/create-organization.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/create-organization.ts)_
99+
55100
## `slash-graphql delete-lambda`
56101

57102
Delete the Lambda script associated with the backend.
@@ -71,7 +116,7 @@ EXAMPLES
71116
$ slash-graphql delete-lambda -e 0x1234
72117
```
73118

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

76121
## `slash-graphql deploy-backend NAME`
77122

@@ -86,6 +131,7 @@ ARGUMENTS
86131
87132
OPTIONS
88133
-m, --deployment-mode=readonly|graphql|flexible [default: graphql] Deployment Mode
134+
-o, --organizationId=organizationId Organization ID
89135
-q, --quiet Quiet Output
90136
-r, --region=region [default: us-west-2] Region
91137
-s, --subdomain=subdomain Subdomain
@@ -98,7 +144,7 @@ EXAMPLE
98144
$ slash-graphql deploy-backend "My New Backend"
99145
```
100146

101-
_See code: [src/commands/deploy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/deploy-backend.ts)_
147+
_See code: [src/commands/deploy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/deploy-backend.ts)_
102148

103149
## `slash-graphql destroy-backend ID`
104150

@@ -119,7 +165,7 @@ EXAMPLE
119165
$ slash-graphql destroy-backend "0xid"
120166
```
121167

122-
_See code: [src/commands/destroy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/destroy-backend.ts)_
168+
_See code: [src/commands/destroy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/destroy-backend.ts)_
123169

124170
## `slash-graphql drop`
125171

@@ -146,7 +192,7 @@ EXAMPLE
146192
<fields>]
147193
```
148194

149-
_See code: [src/commands/drop.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/drop.ts)_
195+
_See code: [src/commands/drop.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/drop.ts)_
150196

151197
## `slash-graphql export-data OUTPUTDIR`
152198

@@ -168,7 +214,7 @@ EXAMPLE
168214
$ slash-graphql export-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./output-directory
169215
```
170216

171-
_See code: [src/commands/export-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/export-data.ts)_
217+
_See code: [src/commands/export-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/export-data.ts)_
172218

173219
## `slash-graphql get-lambda`
174220

@@ -188,7 +234,7 @@ EXAMPLES
188234
$ slash-graphql get-lambda -e 0x1234
189235
```
190236

191-
_See code: [src/commands/get-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/get-lambda.ts)_
237+
_See code: [src/commands/get-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/get-lambda.ts)_
192238

193239
## `slash-graphql get-schema [FILE]`
194240

@@ -213,7 +259,7 @@ EXAMPLES
213259
$ slash-graphql get-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> -g
214260
```
215261

216-
_See code: [src/commands/get-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/get-schema.ts)_
262+
_See code: [src/commands/get-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/get-schema.ts)_
217263

218264
## `slash-graphql help [COMMAND]`
219265

@@ -253,7 +299,7 @@ EXAMPLE
253299
$ slash-graphql import-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./import-directory
254300
```
255301

256-
_See code: [src/commands/import-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/import-data.ts)_
302+
_See code: [src/commands/import-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/import-data.ts)_
257303

258304
## `slash-graphql lambda-logs`
259305

@@ -274,7 +320,7 @@ EXAMPLES
274320
$ slash-graphql lambda-logs -e 0x1234 -h 5
275321
```
276322

277-
_See code: [src/commands/lambda-logs.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/lambda-logs.ts)_
323+
_See code: [src/commands/lambda-logs.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/lambda-logs.ts)_
278324

279325
## `slash-graphql list-backends`
280326

@@ -300,7 +346,7 @@ EXAMPLES
300346
$ slash-graphql list-backends --csv
301347
```
302348

303-
_See code: [src/commands/list-backends.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/list-backends.ts)_
349+
_See code: [src/commands/list-backends.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/list-backends.ts)_
304350

305351
## `slash-graphql list-backups`
306352

@@ -319,7 +365,24 @@ EXAMPLE
319365
$ slash-graphql list-backups -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken>
320366
```
321367

322-
_See code: [src/commands/list-backups.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/list-backups.ts)_
368+
_See code: [src/commands/list-backups.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/list-backups.ts)_
369+
370+
## `slash-graphql list-organizations`
371+
372+
List Organizations associated with the user
373+
374+
```
375+
USAGE
376+
$ slash-graphql list-organizations
377+
378+
OPTIONS
379+
-q, --quiet Quiet Output
380+
381+
EXAMPLE
382+
$ slash-graphql list-organizations
383+
```
384+
385+
_See code: [src/commands/list-organizations.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/list-organizations.ts)_
323386

324387
## `slash-graphql login`
325388

@@ -336,7 +399,7 @@ EXAMPLE
336399
$ slash-graphql login
337400
```
338401

339-
_See code: [src/commands/login.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/login.ts)_
402+
_See code: [src/commands/login.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/login.ts)_
340403

341404
## `slash-graphql logout`
342405

@@ -355,7 +418,28 @@ EXAMPLES
355418
$ slash-graphql logout -a
356419
```
357420

358-
_See code: [src/commands/logout.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/logout.ts)_
421+
_See code: [src/commands/logout.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/logout.ts)_
422+
423+
## `slash-graphql remove-member-from-organization ORGANIZATION MEMBER`
424+
425+
Remove a Member from Organization
426+
427+
```
428+
USAGE
429+
$ slash-graphql remove-member-from-organization ORGANIZATION MEMBER
430+
431+
ARGUMENTS
432+
ORGANIZATION Organization UID
433+
MEMBER Member Email Address
434+
435+
OPTIONS
436+
-q, --quiet Quiet Output
437+
438+
EXAMPLE
439+
$ slash-graphql remove-organization-member 0x123 member@dgraph.io
440+
```
441+
442+
_See code: [src/commands/remove-member-from-organization.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/remove-member-from-organization.ts)_
359443

360444
## `slash-graphql restore-backend`
361445

@@ -379,7 +463,7 @@ EXAMPLE
379463
url> [-f <backup folder> -n <backup number>]
380464
```
381465

382-
_See code: [src/commands/restore-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/restore-backend.ts)_
466+
_See code: [src/commands/restore-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/restore-backend.ts)_
383467

384468
## `slash-graphql restore-backend-status RESTOREID`
385469

@@ -401,7 +485,7 @@ EXAMPLE
401485
$ slash-graphql restore-backend-status -e https://clone.cloud.dgraph.io/graphql -t <apiToken> "restoreID"
402486
```
403487

404-
_See code: [src/commands/restore-backend-status.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/restore-backend-status.ts)_
488+
_See code: [src/commands/restore-backend-status.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/restore-backend-status.ts)_
405489

406490
## `slash-graphql update [CHANNEL]`
407491

@@ -428,14 +512,15 @@ ARGUMENTS
428512
OPTIONS
429513
-m, --deployment-mode=readonly|graphql|flexible Deployment Mode
430514
-n, --name=name Name
515+
-o, --organizationId=organizationId Organization UID
431516
-q, --quiet Quiet Output
432517
-y, --confirm Skip Confirmation
433518
434519
EXAMPLE
435520
$ slash-graphql update-backend -n "New Name" 0xid
436521
```
437522

438-
_See code: [src/commands/update-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/update-backend.ts)_
523+
_See code: [src/commands/update-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/update-backend.ts)_
439524

440525
## `slash-graphql update-lambda`
441526

@@ -456,7 +541,7 @@ EXAMPLES
456541
$ slash-graphql update-lambda -e 0x1234 -f /home/user/Downloads/script.js
457542
```
458543

459-
_See code: [src/commands/update-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/update-lambda.ts)_
544+
_See code: [src/commands/update-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/update-lambda.ts)_
460545

461546
## `slash-graphql update-schema [FILE]`
462547

@@ -478,5 +563,5 @@ EXAMPLE
478563
$ slash-graphql update-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> schema-file.graphql
479564
```
480565

481-
_See code: [src/commands/update-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.4/src/commands/update-schema.ts)_
566+
_See code: [src/commands/update-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.5/src/commands/update-schema.ts)_
482567
<!-- 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.16.4",
4+
"version": "1.16.5",
55
"author": "Dgraph Labs @dgraphlabs",
66
"bin": {
77
"slash-graphql": "./bin/run"

0 commit comments

Comments
 (0)
This repository has been archived.