upgrade
Upgrade the Qlty CLI
When run without a --version
argument, this command checks if there is a newer version of the Qlty CLI available than the current version.
If there is a release to install, it will download and unpack it to a tempoary directory.
It will then rename the executable to replace the currently running executable, to complete the upgrade.
Finally, the upgrade command will attempt to install shell completions.
Arguments
--version
The version to upgrade to. Defaults to the latest version
--force
Run the upgrade even if the latest version is already installed
--dry-run
Whether to perform a dry run
Commands
source
Upgrades the source
Examples
Upgrade to the latest Qlty CLI if one is available
Upgrade to version 0.299.0
Force re-installation even if no new version is available