This command provides an easy way to ensure that NativeCLI is always kept up to date.
This command is only available in NativeCLI version 1.0.0-release.1 and later.
Command
Syntax:
nativecli self-update [VERSION]
Options
All options are only available since 1.0.1
By default, update status is output in text. For programmatic use, json is also a valid option:
nativecli self-update --format json
—check
Check for updates without updating.
Examples
Update to the latest stable version:
Update to a specific version:
nativecli self-update 1.0.0-beta.2