ffconfig man page
ffconfig — Query and modify configuration settings remotely.
ffconfig [-h] [options] <cmd> [args]
This program connects to a Fawkes instance over the network and can query and modify configuration settings.
To use this tool, a command string is formed that consists of a command and its arguments. A number of options is available to modify the behavior of the program.
Show help instructions.
Show comments (only available with list and watch cmd).
Show all values, even double if default and host-specific values exist (only available with list).
Quiet mode. Only show important output, suitable for parsing (not supported for all commands yet).
- -r host[:port]
Remote host and optionally port to connect to. If not given defaults to localhost:1910.
List all configuration items.
Watch configuration changes and print them as they happen.
- get path
Get and print the value at path.
- set path value [type]
Set a host-specific value for the given path to the given value. The type must be given if the value is newly created. It must be one of float/uint/int/bool/string.
- set_default path value [type]
Set a default value for the given path to the given value. The type must be given if the value is newly created. It must be one of float/uint/int/bool/string.
- set_comment path comment
Set comment for the given host-specific value at path. The value at the given path must already exist in the host-specific configuration.
- set_default_comment path comment
Set default comment for the given path. The value at the given path must already exist in the default configuration.
- erase path
Erase value at path from host-specific configuration.
- erase_default path
Erase value at path from default configuration.
List all configuration values on localhost. host.
ffplugin -r myrobot:1234 set /my_value "test string" string
Connect to Fawkes running on the host "myrobot" on port 1234 and set the host-specific value at /my_value to "test string" of type string. If the value already exists it must be of type string, or an error occurs.
Written by Tim Niemueller <email@example.com>
Documentation by Tim Niemueller <firstname.lastname@example.org>
Part of the Fawkes Robot Software Framework. Project website is at http://www.fawkesrobotics.org