1 | @oclif/plugin-update
|
2 | ====================
|
3 |
|
4 | [![Version](https://img.shields.io/npm/v/@oclif/plugin-update.svg)](https://npmjs.org/package/@oclif/plugin-update)
|
5 | [![CircleCI](https://circleci.com/gh/oclif/plugin-update/tree/main.svg?style=shield)](https://circleci.com/gh/oclif/plugin-update/tree/main)
|
6 | [![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/oclif/plugin-update?branch=main&svg=true)](https://ci.appveyor.com/project/oclif/plugin-update/branch/main)
|
7 | [![Downloads/week](https://img.shields.io/npm/dw/@oclif/plugin-update.svg)](https://npmjs.org/package/@oclif/plugin-update)
|
8 | [![License](https://img.shields.io/npm/l/@oclif/plugin-update.svg)](https://github.com/oclif/plugin-update/blob/main/package.json)
|
9 |
|
10 |
|
11 | * [Usage](#usage)
|
12 | * [Commands](#commands)
|
13 |
|
14 | # Usage
|
15 | See https://oclif.io/docs/releasing.html#autoupdater
|
16 |
|
17 | # Commands
|
18 |
|
19 | * [`oclif-example update [CHANNEL]`](#oclif-example-update-channel)
|
20 |
|
21 | ## `oclif-example update [CHANNEL]`
|
22 |
|
23 | update the oclif-example CLI
|
24 |
|
25 | ```
|
26 | USAGE
|
27 | $ oclif-example update [CHANNEL] [-a] [-v <value> | -i] [--force]
|
28 |
|
29 | FLAGS
|
30 | -a, --available Install a specific version.
|
31 | -i, --interactive Interactively select version to install. This is ignored if a channel is provided.
|
32 | -v, --version=<value> Install a specific version.
|
33 | --force Force a re-download of the requested version.
|
34 |
|
35 | DESCRIPTION
|
36 | update the oclif-example CLI
|
37 |
|
38 | EXAMPLES
|
39 | Update to the stable channel:
|
40 |
|
41 | $ oclif-example update stable
|
42 |
|
43 | Update to a specific version:
|
44 |
|
45 | $ oclif-example update --version 1.0.0
|
46 |
|
47 | Interactively select version:
|
48 |
|
49 | $ oclif-example update --interactive
|
50 |
|
51 | See available versions:
|
52 |
|
53 | $ oclif-example update --available
|
54 | ```
|
55 |
|
56 | _See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v3.0.0/src/commands/update.ts)_
|
57 |
|