nerves_hub_cli v0.1.0 mix nerves_hub.product

Manages your products.

create

Create a new NervesHub product. The shell will prompt for information about the product. This information can be passed by specifying one or all of the command line options.

mix nerves_hub.product create

Command line options

  • --name - (Optional) The product name

list

mix nerves_hub.product list

delete

Call list to retrieve product names

mix nerves_hub.firmware delete [product_name]

update

Update values on a product. Call list to retrieve product names

Examples

Change product name

mix nerves_hub.product update example name example_new

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 create(org, opts)
Link to this function delete(org, product_name)

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 update(org, product, key, value)