dv-control
dv-control
is an executable that starts a Command Line Interface used to control and modify live running instances of
the runtime.
Executable options:
Option |
Argument |
Purpose |
---|---|---|
|
None |
Print help text (this table) |
|
IP address |
Use this IP address to connect to a runtime on this address |
|
Port number |
Use this port number to connect to a runtime on this port |
|
Path to a file in the PEM format |
Enable TLS for connection using the specified CA file (no argument: default CA for verification) |
|
Path to a file in the PEM format |
Uses the specified TLS key file for client authentication |
|
CLI command |
Runs the provided command as if typed in the CLI, then exits |
Command Line Interface
Once started, dv-control
becomes a Command Line Interface.
The different available commands and their usages are the following:
Command |
Arguments |
Action |
---|---|---|
|
|
Returns |
|
|
Returns |
|
|
Returns the names of all children from the provided |
|
|
Returns the type of the provided |
|
|
Returns the description of the provided |
|
|
Returns the value of the provided |
|
|
Sets the |
|
|
Adds a module from the provided |
|
|
Removes the module with the provided |
|
None |
Send a full dump of the current configuration tree. |
|
None |
Get the ID of this client. |
|
None |
Exits the CLI. |
Note1:
node
arguments are in the form of paths. Ex:/mainloop/accumulator
.key
arguments are generally attributes (written in camelCase) from nodes. Ex:decayParam
.library
arguments are a name of a module library. Ex:dv_accumulator
.
Note2: The CLI has autocomplete, which means most of the commands, nodes and keys can be auto-completed using the
tab
key.
Note3: To connect the outputs of a module to the inputs of another one, one should use the following:
set /mainloop/receiver_module_name/inputs/input_name from sender_module_name[output_name]