Skip to content

apljungquist/rs4acap

Repository files navigation

rs4acap

A collection of language agnostic tools that facilitate development for the AXIS Camera Application Platform (ACAP).

Table of Contents

Preview

The following tools are available:

device-finder

$ device-finder help
Usage: device-finder [COMMAND]

Commands:
  discover-devices  Discover devices on the local network
  completions       Print a completion file for the given shell
  help              Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

device-inventory

$ device-inventory help
Usage: device-inventory [OPTIONS] <COMMAND>

Commands:
  login        Login to a pool of shared devices
  add          Add a device
  deactivate   Deactivate any active device
  sync         Sync devices from the VLT to the local inventory
  for-each     Run a command with environment variables set for each device
  list         List available devices
  activate     Activate an existing device
  remove       Remove a device
  dump         Print the device-inventory database to stdout
  load         Load the device-inventory database from stdin
  completions  Print a completion file for the given shell
  help         Print this message or the help of the given subcommand(s)

Options:
      --inventory <INVENTORY>  Location of the application data [env: DEVICE_INVENTORY_LOCATION=]
      --offline                [env: DEVICE_INVENTORY_OFFLINE=]
  -h, --help                   Print help

device-manager

$ device-manager help
Usage: device-manager <COMMAND>

Commands:
  restore      Restore the device to a clean state (factory default)
  init         Initialize a device in setup mode
  reinit       Restore and initialize the device to a known, useful state
  completions  Generate shell completions
  help         Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

firmware-inventory

$ firmware-inventory help
Usage: firmware-inventory [OPTIONS] <COMMAND>

Commands:
  login        Login to access firmware downloads
  update       Update the local firmware index for products matching a glob
  list         List indexed firmware versions, showing which are cached locally
  get          Get firmware matching product and version requirement
  completions  Print a completion file for the given shell
  help         Print this message or the help of the given subcommand(s)

Options:
      --inventory <INVENTORY>  Location of the application data [env: FIRMWARE_INVENTORY_LOCATION=]
      --offline                [env: FIRMWARE_INVENTORY_OFFLINE=]
  -h, --help                   Print help

Installation

The tools in this project can be installed using Cargo:

cargo install --locked --git https://github.com/apljungquist/rs4a.git device-finder
cargo install --locked --git https://github.com/apljungquist/rs4a.git device-inventory
cargo install --locked --git https://github.com/apljungquist/rs4a.git device-manager
cargo install --locked --git https://github.com/apljungquist/rs4a.git firmware-inventory

If you want to install them another way, open an issue and I may be able to help.

Related projects

  • acap-rs - though focused on facilitating developing ACAP apps in Rust, this project does provide a few language agnostic tools too.
  • awesome-acap - a list of free resources related to ACAP development.

About

A collection of language agnostic tools that facilitate development for the AXIS Camera Application Platform (ACAP)

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages