View Source NervesHubCLI.CLI.Deployment (nerves_hub_cli v2.1.0)

Manage NervesHub deployments

list

nerves_hub deployment list

Command-line options

  • --product - (Optional) Only show deployments for one product. This defaults to the NERVES_HUB_PRODUCT environment variable (if set) or the global configuration via nerves_hub config set product "product_name"

create

Create a new deployment

nerves_hub deployment create

Command-line options

  • --name - (Optional) The deployment name
  • --firmware - (Optional) The firmware UUID
  • --version - (Optional) Can be blank. The version requirement the device's version must meet to qualify for the deployment
  • --tag - (Optional) Multiple tags can be set by passing this key multiple times

update

Update values on a deployment.

Examples

Update active firmware version

nerves_hub deployment update dev firmware fd53d87c-99ca-5770-5540-edb5058ced5b

Activate / Deactivate a deployment

nerves_hub deployment update dev state on

General usage:

nerves_hub deployment update [deployment_name] [key] [value]

Summary

Functions

create(org, product, opts)

list(org, product)

render_help()

@spec render_help() :: no_return()

run(args)

update(deployment, key, value, org, product, auth \\ nil)