oroc update init
Scaffold a minimal update manifest JSON file.
Usage#
oroc update init [options]
Options#
| Option | Description |
|---|---|
--config=<path> |
use an explicit oro.toml/oro.ini file when deriving defaults |
--manifest-name=<name> |
filename for the manifest JSON (default: manifest.json or ORO_UPDATE_MANIFEST_FILENAME) |
--log-file=<path> |
mirror logs to a JSON file |
-h, --help |
show help |
Notes#
The generated manifest includes these defaults.
- schemaVersion = 1
- appId derived from your oro.toml ([meta] bundle_identifier, falling back to "com.example.app")
- generatedAt = current UTC timestamp
- channels = [update_channel or "stable"]
- updates = a single entry for the current version/channel (with an empty targets array) Edit the generated file to add real targets, artifact metadata, or additional updates.
Examples#
oroc update init
create ./manifest.json using oro.toml metadata
oroc update init --manifest-name app-updates.json
create ./app-updates.json instead of manifest.json
Source repository · Edit this page · View Markdown