Update command
Note
Maintainers: Charles Graham
Use cwms-cli update to update the installed cwms-cli package with pip.
By default it installs the latest available release, and you can optionally
target a specific version with --target-version. After updating, use
Version argument to confirm the installed version.
On Windows, the command launches the pip install in a separate command window so
the running cwms-cli.exe does not block its own replacement.
Examples
Prompt before updating:
cwms-cli updateSkip confirmation prompt:
cwms-cli update --yesInstall a specific version:
cwms-cli update --target-version 0.3.7 --yesInclude pre-release versions:
cwms-cli update --pre --yes
See also
cwms-cli update
Update cwms-cli with pip, optionally targeting a specific version.
Usage
cwms-cli update [OPTIONS]
Options
- --target-version <VERSION>
Install a specific cwms-cli version instead of the latest release.
- --pre
Include pre-release versions during update.
- -y, --yes
Skip confirmation prompt and run update immediately.