edit-config

Name

edit-config

Synopsis

Edit the current configuration of an instrument or the RBRcervello.

Usage

edit-config [-n|–new-file] | [-c|--config-file] device

edit-config [-h]

Options

-h, --help

Display this help message and exit.

-v, --version

Output version information and exit.

-c, --config-file [device]

Where 'device' is the device of which configuration will be shown.

The supported devices are the following:

  • instrumentXX allows editing the deployment configuration file of instrument XX

  • cervello allows editing the RBRcervello user configuration file

-n, --new-file

Start editing from an empty file

Note that "instrument01" usually maps to the "deployment01.json" file, and "cervello" to "user.json". However, the correct argument for this command is "instrument01" and "cervello".

Description

Edit interactively the configuration of a specific instrument or the RBRcervello configuration. This relies on the nano editor.

Examples

RBRcervello>edit-config -c instrument01