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

Commit

Permalink
1.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
antblood committed Mar 25, 2021
1 parent 7838cf1 commit c4f4f61
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 31 deletions.
70 changes: 41 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.9.0
$ slash-graphql --help [COMMAND]
USAGE
$ slash-graphql COMMAND
Expand All @@ -46,7 +46,7 @@ USAGE
* [`slash-graphql list-backends`](#slash-graphql-list-backends)
* [`slash-graphql list-backups`](#slash-graphql-list-backups)
* [`slash-graphql list-organizations`](#slash-graphql-list-organizations)
* [`slash-graphql login`](#slash-graphql-login)
* [`slash-graphql login EMAIL PASSWORD`](#slash-graphql-login-email-password)
* [`slash-graphql logout`](#slash-graphql-logout)
* [`slash-graphql remove-member-from-organization ORGANIZATION MEMBER`](#slash-graphql-remove-member-from-organization-organization-member)
* [`slash-graphql restore-backend`](#slash-graphql-restore-backend)
Expand Down Expand Up @@ -75,7 +75,7 @@ EXAMPLE
$ slash-graphql add-member-to-organization 0x123 user@dgraph.io
```

_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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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]`

Expand All @@ -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]`

Expand Down Expand Up @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -382,24 +394,24 @@ 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`
## `slash-graphql login EMAIL PASSWORD`

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

```
USAGE
$ slash-graphql login
$ slash-graphql login EMAIL PASSWORD
OPTIONS
-q, --quiet Quiet Output
EXAMPLE
$ slash-graphql login
$ slash-graphql login email password
```

_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`

Expand All @@ -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`

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

_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`

Expand All @@ -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`

Expand All @@ -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]`

Expand Down Expand Up @@ -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`

Expand All @@ -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]`

Expand All @@ -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 -->
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slash-graphql",
"description": "Command Line Tools to Manage Slash GraphQL",
"version": "1.16.7",
"version": "1.17.0",
"author": "Dgraph Labs @dgraphlabs",
"bin": {
"slash-graphql": "./bin/run"
Expand Down

0 comments on commit c4f4f61

Please sign in to comment.