nerves_hub_cli v0.9.0 mix nerves_hub.firmware
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.
mix 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 Mix Project config:app
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
mix nerves_hub.firmware list
Command-line options
--product
- (Optional) The product name to publish the firmware to. This defaults to the Mix Project config:app
name.
delete
Firmware can only be deleted if it is not associated to any deployment.
Call list
to retrieve firmware UUIDs
mix 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.
mix nerves_hub.firmware sign [Optional: /path/to/app.firmware]
Command-line options
--key
- (Optional) The firmware signing key to sign the firmware with.
Link to this section Summary
Functions
A task needs to implement run
which receives
a list of command line args.
Link to this section Functions
Link to this function
list(org, product)
Link to this function
render_help()
render_help()
render_help() :: no_return()
render_help() :: no_return()
Link to this function
run(args)
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.
Link to this function