Skip to main content
Run an action on a net whose instrument uses a custom driver. The CLI gets the driver’s actions from the box, so you do not install anything on your computer.

Syntax

  • With no NET_NAME, the command lists the custom nets on the box.
  • With a NET_NAME and no ACTION, it lists the actions of that net’s driver.
  • With both, it runs the action.
Options:
  • --box BOX - Lager Box name or IP address
  • --json - Print the action’s result as JSON
Give action arguments as --NAME VALUE or --NAME=VALUE. An argument with no value is true, and --no-NAME is false. The box checks each value against the driver’s manifest before the driver runs.

Examples

The short form

Each installed driver type is also a lager command. These two commands do the same thing:
The short form gets typed options and help from the manifest:
To find the command, the CLI asks the box named by --box, or your default box, which drivers it has. It keeps the answer for five minutes. Built-in commands always have priority. If the CLI cannot reach the box, the short form shows the usual No such command error; lager custom then tells you why.

Errors