@intuit/oclif-plugin-update
A fork of @oclif/plugin-update that mimics an NVM-like experience
Table of Contents
Features
- Quickly switch between different versions of your CLI
- Request explicit installation of a particular version of the tool
- Will use the nearest major/minor/patch based on semantic versioning (ex.
use 3.1
will resolve to latest patch version3.1.x
available locally)
Usage
oclif-example install VERSION
Install and link a new version of the oclif-example CLI. This will first check locally before fetching from the internet
USAGE
$ oclif-example install VERSION
ARGUMENTS
VERSION Specify an explicit version (ex. 3.0.0-next.1) or a channel (ex. alpha)
See code: src/commands/install.ts
oclif-example update [CHANNEL]
Updates the oclif-example CLI. This will check for the latest version available on the requested channel and fetch it from remote
USAGE
$ oclif-example update [CHANNEL]
ARGUMENTS
CHANNEL Specify a channel (ex: stable,alpha,beta,next). An error will be thrown if this channel is invalid.
OPTIONS
--from-local interactively choose an already installed version
See code: src/commands/update.ts
oclif-example use [VERSION]
Checks for a previously installed version of the oclif-example CLI. Throws an error if the version is not found.
USAGE
$ oclif-example use [VERSION]
ARGUMENTS
VERSION Specify an explicit version (ex. 3.0.0-next.1) or a channel (ex. alpha)
See code: src/commands/use.ts
Contributing
Contributions are welcome, please see the CONTRIBUTING.md for details.