View Source NervesHubCLI.CLI.Firmware (nerves_hub_cli v2.1.0)
Manage Firmware on NervesHub
publish
Upload signed firmware to NervesHub. Supplying a path to the firmware file is optional. If it is not specified, NervesHub will locate the firmware based off the project settings.
nerves_hub firmware publish [Optional: /path/to/app.firmware]
Command-line options
--product
- (Optional) The product name to publish the firmware to. This defaults to the NERVES_HUB_PRODUCT environment variable (if set) or the global configuration vianerves_hub config set product "product_name"
--deploy
- (Optional) The name of a deployment to update following firmware publish. This key can be passed multiple times to update multiple deployments.--key
- (Optional) The firmware signing key to sign the firmware with.--ttl
- (Optional) The firmware max time to live seconds.
list
nerves_hub firmware list
Command-line options
--product
- (Optional) The product name to publish the firmware to. This defaults to the NERVES_HUB_PRODUCT environment variable (if set) or the global configuration vianerves_hub config set product "product_name"
delete
Firmware can only be deleted if it is not associated to any deployment.
Call list
to retrieve firmware UUIDs
nerves_hub firmware delete [firmware_uuid]
sign
Sign the local firmware. Supplying a path to the firmware file is optional. If it is not specified, NervesHub will locate the firmware based off the project settings.
nerves_hub firmware sign [Optional: /path/to/app.firmware]
Command-line options
--key
- (Optional) The firmware signing key to sign the firmware with.