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

Commit

Permalink
1.15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
antblood committed Oct 30, 2020
1 parent 4d03a19 commit fa85a1a
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 16 deletions.
56 changes: 42 additions & 14 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.15.0 darwin-x64 node-v14.9.0
slash-graphql/1.15.1 darwin-x64 node-v14.9.0
$ slash-graphql --help [COMMAND]
USAGE
$ slash-graphql COMMAND
Expand All @@ -33,6 +33,7 @@ USAGE
<!-- commands -->
* [`slash-graphql deploy-backend NAME`](#slash-graphql-deploy-backend-name)
* [`slash-graphql destroy-backend ID`](#slash-graphql-destroy-backend-id)
* [`slash-graphql drop`](#slash-graphql-drop)
* [`slash-graphql export-data OUTPUTDIR`](#slash-graphql-export-data-outputdir)
* [`slash-graphql get-schema [FILE]`](#slash-graphql-get-schema-file)
* [`slash-graphql help [COMMAND]`](#slash-graphql-help-command)
Expand Down Expand Up @@ -72,7 +73,7 @@ EXAMPLE
$ slash-graphql deploy-backend "My New Backend"
```

_See code: [src/commands/deploy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0/src/commands/deploy-backend.ts)_
_See code: [src/commands/deploy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/deploy-backend.ts)_

## `slash-graphql destroy-backend ID`

Expand All @@ -93,7 +94,34 @@ EXAMPLE
$ slash-graphql destroy-backend "0xid"
```

_See code: [src/commands/destroy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0/src/commands/destroy-backend.ts)_
_See code: [src/commands/destroy-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/destroy-backend.ts)_

## `slash-graphql drop`

Drop all data in your backend

```
USAGE
$ slash-graphql drop
OPTIONS
-F, --drop-fields=drop-fields Drop types
-T, --drop-types=drop-types Drop types
-d, --drop-data Drop data and leave the schema
-e, --endpoint=endpoint Slash GraphQL Endpoint
-l, --list-unused List unused types and fields
-q, --quiet Quiet Output
-s, --drop-schema Drop Schema along with the data
-t, --token=token Slash GraphQL Backend API Tokens
-u, --drop-unused Drops all unused types and fields
-y, --confirm Skip Confirmation
EXAMPLE
$ slash-graphql drop -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> [-l] [-d] [-s] [-T <types>] [-F
<fields>]
```

_See code: [src/commands/drop.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/drop.ts)_

## `slash-graphql export-data OUTPUTDIR`

Expand All @@ -115,7 +143,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.15.0/src/commands/export-data.ts)_
_See code: [src/commands/export-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/export-data.ts)_

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

Expand All @@ -140,7 +168,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.15.0/src/commands/get-schema.ts)_
_See code: [src/commands/get-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/get-schema.ts)_

## `slash-graphql help [COMMAND]`

Expand Down Expand Up @@ -180,7 +208,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.15.0/src/commands/import-data.ts)_
_See code: [src/commands/import-data.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/import-data.ts)_

## `slash-graphql list-backends`

Expand All @@ -206,7 +234,7 @@ EXAMPLES
$ slash-graphql list-backends --csv
```

_See code: [src/commands/list-backends.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0/src/commands/list-backends.ts)_
_See code: [src/commands/list-backends.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/list-backends.ts)_

## `slash-graphql list-backups`

Expand All @@ -225,7 +253,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.15.0/src/commands/list-backups.ts)_
_See code: [src/commands/list-backups.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/list-backups.ts)_

## `slash-graphql login`

Expand All @@ -242,7 +270,7 @@ EXAMPLE
$ slash-graphql login
```

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

## `slash-graphql logout`

Expand All @@ -261,7 +289,7 @@ EXAMPLES
$ slash-graphql logout -a
```

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

## `slash-graphql restore-backend`

Expand All @@ -283,7 +311,7 @@ EXAMPLE
url>
```

_See code: [src/commands/restore-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0/src/commands/restore-backend.ts)_
_See code: [src/commands/restore-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/restore-backend.ts)_

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

Expand All @@ -305,7 +333,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.15.0/src/commands/restore-backend-status.ts)_
_See code: [src/commands/restore-backend-status.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/restore-backend-status.ts)_

## `slash-graphql update [CHANNEL]`

Expand Down Expand Up @@ -339,7 +367,7 @@ EXAMPLE
$ slash-graphql update-backend -n "New Name" 0xid
```

_See code: [src/commands/update-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.0/src/commands/update-backend.ts)_
_See code: [src/commands/update-backend.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/src/commands/update-backend.ts)_

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

Expand All @@ -361,5 +389,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.15.0/src/commands/update-schema.ts)_
_See code: [src/commands/update-schema.ts](https://github.com/dgraph-io/slash-graphql-cli/blob/v1.15.1/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.15.0",
"version": "1.15.1",
"author": "Dgraph Labs @dgraphlabs",
"bin": {
"slash-graphql": "./bin/run"
Expand Down

0 comments on commit fa85a1a

Please sign in to comment.