From fa85a1a571e73ddf8c8d18da2aa87ec7262d19b6 Mon Sep 17 00:00:00 2001 From: antblood Date: Fri, 30 Oct 2020 11:48:37 +0530 Subject: [PATCH] 1.15.1 --- README.md | 56 +++++++++++++++++++++++++++++++++++------------ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 44 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 9df2cfd..490cf20 100644 --- a/README.md +++ b/README.md @@ -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 @@ -33,6 +33,7 @@ USAGE * [`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) @@ -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` @@ -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 [-l] [-d] [-s] [-T ] [-F + ] +``` + +_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` @@ -115,7 +143,7 @@ EXAMPLE $ slash-graphql export-data -e https://frozen-mango.cloud.dgraph.io/graphql -t ./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]` @@ -140,7 +168,7 @@ EXAMPLES $ slash-graphql get-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t -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]` @@ -180,7 +208,7 @@ EXAMPLE $ slash-graphql import-data -e https://frozen-mango.cloud.dgraph.io/graphql -t ./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` @@ -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` @@ -225,7 +253,7 @@ EXAMPLE $ slash-graphql list-backups -e https://frozen-mango.cloud.dgraph.io/graphql -t ``` -_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` @@ -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` @@ -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` @@ -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` @@ -305,7 +333,7 @@ EXAMPLE $ slash-graphql restore-backend-status -e https://clone.cloud.dgraph.io/graphql -t "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]` @@ -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]` @@ -361,5 +389,5 @@ EXAMPLE $ slash-graphql update-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t 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)_ diff --git a/package-lock.json b/package-lock.json index d9f1114..d9c5075 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "slash-graphql", - "version": "1.15.0", + "version": "1.15.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 43f09a7..86373c0 100644 --- a/package.json +++ b/package.json @@ -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"