From 8b5d03a2bc08a6f189e73b51587ca724e9a0d53c Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Sat, 27 Jun 2020 16:40:36 +0600 Subject: [PATCH] feat(cli): add shell completion support for bash & fish --- packages/cli/README.md | 8 ++++---- packages/cli/package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/cli/README.md b/packages/cli/README.md index 530de4a..4c7f26e 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -103,13 +103,13 @@ USAGE $ synor completion OPTIONS - -s, --shell=zsh (required) Name of shell + -s, --shell=bash|fish|zsh (required) Name of shell EXAMPLE $ synor completion --shell zsh ``` -_See code: [oclif-plugin-completion](https://github.com/MunifTanjim/oclif-plugin-completion/blob/0.1.0/src/commands/completion/index.ts)_ +_See code: [oclif-plugin-completion](https://github.com/MunifTanjim/oclif-plugin-completion/blob/0.3.0/src/commands/completion/index.ts)_ ## `synor completion:generate` @@ -120,13 +120,13 @@ USAGE $ synor completion:generate OPTIONS - -s, --shell=zsh (required) Name of shell + -s, --shell=bash|fish|zsh (required) Name of shell EXAMPLE $ synor completion:generate --shell zsh ``` -_See code: [oclif-plugin-completion](https://github.com/MunifTanjim/oclif-plugin-completion/blob/0.1.0/src/commands/completion/generate.ts)_ +_See code: [oclif-plugin-completion](https://github.com/MunifTanjim/oclif-plugin-completion/blob/0.3.0/src/commands/completion/generate.ts)_ ## `synor current` diff --git a/packages/cli/package.json b/packages/cli/package.json index 53d7ef4..7bb3125 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -15,7 +15,7 @@ "@oclif/plugin-help": "^2", "cli-ux": "^5.4.5", "lodash.defaultsdeep": "^4.6.1", - "oclif-plugin-completion": "^0.1.0", + "oclif-plugin-completion": "^0.3.0", "tslib": "^1.11.1" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 95bbf79..059d73f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8903,10 +8903,10 @@ object.values@^1.1.0: function-bind "^1.1.1" has "^1.0.3" -oclif-plugin-completion@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/oclif-plugin-completion/-/oclif-plugin-completion-0.1.0.tgz#dc73f335472b39286e95cf461b4ce616ac6abbc5" - integrity sha512-yPp78+EhBb7M0YKQPYjbAy3JP6VGA35kj3280PW5Am+n5qvypQTUV8RUbGZ8cBJWHV77020XJzukU35hbbr5hw== +oclif-plugin-completion@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/oclif-plugin-completion/-/oclif-plugin-completion-0.3.0.tgz#c30f47b50ca60b66fe0a42539ba677507ba2eace" + integrity sha512-ED2mzZ82+kvdtGoZCD7kduq2zpIwG1z/6+7vWB2hYn0IQcE5u4TlR0dW0muzIUI/97CcjmK/C0UooReCuZvr/A== dependencies: "@oclif/command" "^1" "@oclif/config" "^1"