dev update
Move this application to its newest release -- for an application the toolchain installed, which fetches the newest public release built for this machine, checks it and puts it in place, showing the download and then what the release changed; refused for an application run from its source or started from outside the install directory
- Command version
0.0.0- Command configuration
cli:cli.update@0.0.0
Arguments
It takes none of its own.
It also takes the global arguments.
Output
It answers with a update.update.
Types
update.update
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
previousVersion | string | Yes | The version that was running when the command started | |
currentVersion | string | Yes | The version in use once the command has run: the release it installed, or the one that was running where nothing changed | |
updated | boolean | No | false | Whether this run installed a newer release |
platform | string | No | The platform of this machine, which is the one a release is installed for; absent where the application was not installed, so no catalog was asked | |
coordinate | string | No | The catalog entry the newer release was read from, absent where there was none | |
launcher | path | No | The launcher this run wrote, which is what the application is run as | |
leftBehind | list[path] | No | [] | The version that was running, which holds its own files open and is removed by the next update |
notesSince | string | No | The version of the last release clients received, which the notes below run from; absent for the first, and where the release carries no notes | |
changes | list[string] | No | [] | What the release installed changed that whoever runs it can observe, one line each |
considerations | list[string] | No | [] | What whoever runs it has to act on, one line each, with what to do about it where the release says |