Page kind: Reference
swarmops upgrade#
Describes v0.11.0Last changed View as Markdown
Move the store to the latest format this build writes. Irreversible: older releases do not open it afterwards.
Metadata
- Group
store- Since
0.4.0- Mutates
- yes
- Identity required
- no
- MCP tool
upgrade- Envelope op
upgrade- Exit codes
- 0
- Errors
- none
Syntax#
swarmops upgrade [OPTIONS]Required arguments#
None.
Optional arguments#
The command also takes the global options.
Examples#
No recorded example yet.
No recorded example yet.
Return information#
result is a UpgradeResp (swarmops schema UpgradeResp prints its JSON Schema).
| Field | Type | Required | Description |
|---|---|---|---|
from | integer | yes | The format the store had. |
to | integer | yes | The format it has now. |
upgraded | boolean | yes | Whether it changed: false for a store of the latest format already. |
Envelope op: upgrade.
Exit codes:
0: Success.
Errors#
No golden step shows this command failing yet.
Any command that opens a store may also fail with a store error, such as E_NOT_A_REPO, E_IO or E_STORE_CORRUPT; a command line the grammar refuses is E_INVALID_ARG (exit 2).