diff --git a/CHANGELOG.md b/CHANGELOG.md index 71205224..17fb54c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [4.2.1](https://github.com/oclif/plugin-update/compare/4.2.0...4.2.1) (2024-03-24) + +### Bug Fixes + +- **deps:** bump inquirer from 9.2.15 to 9.2.16 ([#768](https://github.com/oclif/plugin-update/issues/768)) ([1e65d70](https://github.com/oclif/plugin-update/commit/1e65d70af9840556ee641a222cea102f802b8aae)) + # [4.2.0](https://github.com/oclif/plugin-update/compare/4.1.16...4.2.0) (2024-03-06) ### Features diff --git a/README.md b/README.md index c2273320..2edb29bb 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ - [@oclif/plugin-update](#oclifplugin-update) - [Usage](#usage) - [Commands](#commands) - - [`oclif-example update [CHANNEL]`](#oclif-example-update-channel) +- [Command Topics](#command-topics) - [Contributing](#contributing) @@ -21,48 +21,9 @@ See https://oclif.io/docs/releasing.html#autoupdater -- [@oclif/plugin-update](#oclifplugin-update) -- [Usage](#usage) -- [Commands](#commands) - - [`oclif-example update [CHANNEL]`](#oclif-example-update-channel) -- [Contributing](#contributing) - -## `oclif-example update [CHANNEL]` - -update the oclif-example CLI - -``` -USAGE - $ oclif-example update [CHANNEL] [-a] [--force] [-i | -v ] - -FLAGS - -a, --available See available versions. - -i, --interactive Interactively select version to install. This is ignored if a channel is provided. - -v, --version= Install a specific version. - --force Force a re-download of the requested version. - -DESCRIPTION - update the oclif-example CLI - -EXAMPLES - Update to the stable channel: - - $ oclif-example update stable - - Update to a specific version: - - $ oclif-example update --version 1.0.0 - - Interactively select version: - - $ oclif-example update --interactive - - See available versions: - - $ oclif-example update --available -``` +# Command Topics -_See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/4.2.0/src/commands/update.ts)_ +- [`oclif-example update`](docs/update.md) - update the oclif-example CLI diff --git a/docs/update.md b/docs/update.md new file mode 100644 index 00000000..7c28d6a0 --- /dev/null +++ b/docs/update.md @@ -0,0 +1,42 @@ +# `oclif-example update` + +update the oclif-example CLI + +- [`oclif-example update [CHANNEL]`](#oclif-example-update-channel) + +## `oclif-example update [CHANNEL]` + +update the oclif-example CLI + +``` +USAGE + $ oclif-example update [CHANNEL] [-a] [--force] [-i | -v ] + +FLAGS + -a, --available See available versions. + -i, --interactive Interactively select version to install. This is ignored if a channel is provided. + -v, --version= Install a specific version. + --force Force a re-download of the requested version. + +DESCRIPTION + update the oclif-example CLI + +EXAMPLES + Update to the stable channel: + + $ oclif-example update stable + + Update to a specific version: + + $ oclif-example update --version 1.0.0 + + Interactively select version: + + $ oclif-example update --interactive + + See available versions: + + $ oclif-example update --available +``` + +_See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/4.2.1/src/commands/update.ts)_ diff --git a/package.json b/package.json index 4f2f3011..19501164 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@oclif/plugin-update", - "version": "4.2.0", + "version": "4.2.1", "author": "Salesforce", "bugs": "https://github.com/oclif/plugin-update/issues", "dependencies": {