This repository has been archived by the owner on Apr 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ $ npm install -g slash-graphql | |
$ slash-graphql COMMAND | ||
running command... | ||
$ slash-graphql (-v|--version|version) | ||
slash-graphql/1.16.7 darwin-x64 node-v14.15.1 | ||
slash-graphql/1.17.0 darwin-x64 node-v14.4.0 | ||
$ slash-graphql --help [COMMAND] | ||
USAGE | ||
$ slash-graphql COMMAND | ||
|
@@ -75,7 +75,7 @@ EXAMPLE | |
$ slash-graphql add-member-to-organization 0x123 [email protected] | ||
``` | ||
|
||
_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)_ | ||
_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)_ | ||
|
||
## `slash-graphql create-organization NAME` | ||
|
||
|
@@ -95,7 +95,7 @@ EXAMPLE | |
$ slash-graphql create-organization myNewOrganization | ||
``` | ||
|
||
_See code: [src/commands/create-organization.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/create-organization.ts)_ | ||
_See code: [src/commands/create-organization.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/create-organization.ts)_ | ||
|
||
## `slash-graphql delete-lambda` | ||
|
||
|
@@ -116,7 +116,7 @@ EXAMPLES | |
$ slash-graphql delete-lambda -e 0x1234 | ||
``` | ||
|
||
_See code: [src/commands/delete-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/delete-lambda.ts)_ | ||
_See code: [src/commands/delete-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/delete-lambda.ts)_ | ||
|
||
## `slash-graphql deploy-backend NAME` | ||
|
||
|
@@ -130,21 +130,33 @@ ARGUMENTS | |
NAME Backend Name | ||
OPTIONS | ||
-T, --type=slash-graphql|dedicated [default: slash-graphql] Backend Type | ||
-m, --mode=readonly|graphql|flexible [default: graphql] Backend Mode | ||
-o, --organizationId=organizationId Organization ID | ||
-q, --quiet Quiet Output | ||
-r, --region=region Region | ||
-s, --subdomain=subdomain Subdomain | ||
--acl=true|false [default: false] Enable ACL (Only works for dedicated backends) | ||
--dataFile=dataFile Data File Path for Bulk Loader (Only works for dedicated backends) | ||
--dgraphHA=true|false [default: false] Enable High Availability (Only works for dedicated backends) | ||
--gqlSchemaFile=gqlSchemaFile GQL Schema File Path for Bulk Loader (Only works for dedicated backends) | ||
--jaeger=true|false [default: false] Enable Jaeger (Only works for dedicated backends) | ||
--schemaFile=schemaFile Dgraph Schema File Path for Bulk Loader (Only works for dedicated backends) | ||
--size=small|medium|large|xlarge [default: small] Backend Size (Only Works for dedicated backends) | ||
--storage=storage [default: 10] Alpha Storage in GBs - Accepts Only Integers (Only Works for | ||
dedicated backends) | ||
ALIASES | ||
$ slash-graphql create-backend | ||
$ slash-graphql launch-backend | ||
EXAMPLE | ||
EXAMPLES | ||
$ slash-graphql deploy-backend "My New Backend" | ||
$ slash-graphql deploy-backend "My New Backend" | ||
``` | ||
|
||
_See code: [src/commands/deploy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/deploy-backend.ts)_ | ||
_See code: [src/commands/deploy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/deploy-backend.ts)_ | ||
|
||
## `slash-graphql destroy-backend ID` | ||
|
||
|
@@ -165,7 +177,7 @@ EXAMPLE | |
$ slash-graphql destroy-backend "0xid" | ||
``` | ||
|
||
_See code: [src/commands/destroy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/destroy-backend.ts)_ | ||
_See code: [src/commands/destroy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/destroy-backend.ts)_ | ||
|
||
## `slash-graphql drop` | ||
|
||
|
@@ -192,7 +204,7 @@ EXAMPLE | |
<fields>] | ||
``` | ||
|
||
_See code: [src/commands/drop.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/drop.ts)_ | ||
_See code: [src/commands/drop.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/drop.ts)_ | ||
|
||
## `slash-graphql export-data OUTPUTDIR` | ||
|
||
|
@@ -214,7 +226,7 @@ EXAMPLE | |
$ slash-graphql export-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./output-directory | ||
``` | ||
|
||
_See code: [src/commands/export-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/export-data.ts)_ | ||
_See code: [src/commands/export-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/export-data.ts)_ | ||
|
||
## `slash-graphql get-lambda` | ||
|
||
|
@@ -234,7 +246,7 @@ EXAMPLES | |
$ slash-graphql get-lambda -e 0x1234 | ||
``` | ||
|
||
_See code: [src/commands/get-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/get-lambda.ts)_ | ||
_See code: [src/commands/get-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/get-lambda.ts)_ | ||
|
||
## `slash-graphql get-schema [FILE]` | ||
|
||
|
@@ -259,7 +271,7 @@ EXAMPLES | |
$ slash-graphql get-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> -g | ||
``` | ||
|
||
_See code: [src/commands/get-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/get-schema.ts)_ | ||
_See code: [src/commands/get-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/get-schema.ts)_ | ||
|
||
## `slash-graphql help [COMMAND]` | ||
|
||
|
@@ -299,7 +311,7 @@ EXAMPLE | |
$ slash-graphql import-data -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> ./import-directory | ||
``` | ||
|
||
_See code: [src/commands/import-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/import-data.ts)_ | ||
_See code: [src/commands/import-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/import-data.ts)_ | ||
|
||
## `slash-graphql lambda-logs` | ||
|
||
|
@@ -320,7 +332,7 @@ EXAMPLES | |
$ slash-graphql lambda-logs -e 0x1234 -h 5 | ||
``` | ||
|
||
_See code: [src/commands/lambda-logs.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/lambda-logs.ts)_ | ||
_See code: [src/commands/lambda-logs.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/lambda-logs.ts)_ | ||
|
||
## `slash-graphql list-backends` | ||
|
||
|
@@ -346,7 +358,7 @@ EXAMPLES | |
$ slash-graphql list-backends --csv | ||
``` | ||
|
||
_See code: [src/commands/list-backends.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/list-backends.ts)_ | ||
_See code: [src/commands/list-backends.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/list-backends.ts)_ | ||
|
||
## `slash-graphql list-backups` | ||
|
||
|
@@ -365,7 +377,7 @@ EXAMPLE | |
$ slash-graphql list-backups -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> | ||
``` | ||
|
||
_See code: [src/commands/list-backups.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/list-backups.ts)_ | ||
_See code: [src/commands/list-backups.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/list-backups.ts)_ | ||
|
||
## `slash-graphql list-organizations` | ||
|
||
|
@@ -382,7 +394,7 @@ EXAMPLE | |
$ slash-graphql list-organizations | ||
``` | ||
|
||
_See code: [src/commands/list-organizations.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/list-organizations.ts)_ | ||
_See code: [src/commands/list-organizations.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/list-organizations.ts)_ | ||
|
||
## `slash-graphql login` | ||
|
||
|
@@ -399,7 +411,7 @@ EXAMPLE | |
$ slash-graphql login | ||
``` | ||
|
||
_See code: [src/commands/login.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/login.ts)_ | ||
_See code: [src/commands/login.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/login.ts)_ | ||
|
||
## `slash-graphql logout` | ||
|
||
|
@@ -418,7 +430,7 @@ EXAMPLES | |
$ slash-graphql logout -a | ||
``` | ||
|
||
_See code: [src/commands/logout.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/logout.ts)_ | ||
_See code: [src/commands/logout.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/logout.ts)_ | ||
|
||
## `slash-graphql remove-member-from-organization ORGANIZATION MEMBER` | ||
|
||
|
@@ -439,7 +451,7 @@ EXAMPLE | |
$ slash-graphql remove-organization-member 0x123 [email protected] | ||
``` | ||
|
||
_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)_ | ||
_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)_ | ||
|
||
## `slash-graphql restore-backend` | ||
|
||
|
@@ -463,7 +475,7 @@ EXAMPLE | |
url> [-f <backup folder> -n <backup number>] | ||
``` | ||
|
||
_See code: [src/commands/restore-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/restore-backend.ts)_ | ||
_See code: [src/commands/restore-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/restore-backend.ts)_ | ||
|
||
## `slash-graphql restore-backend-status RESTOREID` | ||
|
||
|
@@ -485,7 +497,7 @@ EXAMPLE | |
$ slash-graphql restore-backend-status -e https://clone.cloud.dgraph.io/graphql -t <apiToken> "restoreID" | ||
``` | ||
|
||
_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)_ | ||
_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)_ | ||
|
||
## `slash-graphql update [CHANNEL]` | ||
|
||
|
@@ -519,7 +531,7 @@ EXAMPLE | |
$ slash-graphql update-backend -e 0xid -n "New Name" -m flexible | ||
``` | ||
|
||
_See code: [src/commands/update-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/update-backend.ts)_ | ||
_See code: [src/commands/update-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/update-backend.ts)_ | ||
|
||
## `slash-graphql update-lambda` | ||
|
||
|
@@ -540,7 +552,7 @@ EXAMPLES | |
$ slash-graphql update-lambda -e 0x1234 -f /home/user/Downloads/script.js | ||
``` | ||
|
||
_See code: [src/commands/update-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/update-lambda.ts)_ | ||
_See code: [src/commands/update-lambda.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/update-lambda.ts)_ | ||
|
||
## `slash-graphql update-schema [FILE]` | ||
|
||
|
@@ -562,5 +574,5 @@ EXAMPLE | |
$ slash-graphql update-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> schema-file.graphql | ||
``` | ||
|
||
_See code: [src/commands/update-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.16.7/src/commands/update-schema.ts)_ | ||
<!-- commandsstop --> | ||
_See code: [src/commands/update-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.17.0/src/commands/update-schema.ts)_ | ||
<!-- commandsstop --> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters