update
Update fns-cli to the latest released version.
Usage
fns-cli update
fns-cli self-updateAliases
self-update
Flags
| Flag | Description |
|---|---|
-h, --help | Show help |
How it works
- Checks the latest available version against the current one.
- If already up to date, prints a confirmation and exits.
- If a newer version is found, downloads and replaces the current binary in-place.
Tips
- If you are running a development build (
0.0.0-dev), you will be warned and asked to confirm before overwriting it with a release binary. - The update is performed via the GitHub Releases API from the
afonsodemori/fns-clirepository. - After updating, verify the new version with
fns-cli version.
