| config-edit - Edit data of configuration managed by Config::Model |
config-edit - Edit data of configuration managed by Config::Model
config-edit [options] -model Fstab
Config-model is a general purpose configuration framework. Models
stored in //etc/config-model.d are configuration description.
The config-edit program will use these configuration descriptions to provide a user interface so user can easily and securely modify the configuration of their system.
Mandatory option that specifies the configuration data to be
edited. The model must be available in /etc/config-model.d/
directory in a .pl file. E.g. this command:
config-edit -model Fstab
will look for /etc/config-model.d/Fstab.pl model file. See
the Config::Model manpage for more details.
Specify the user interface type.
tk: provides a Tk graphical interface (If the Config::Model::TkUI manpage is
installed).
curses: provides a curses user interface (If
the Config::Model::CursesUI manpage is installed).
shell: provides a shell like interface. See the Config::Model::TermUI manpage
for details.
Specify an alternate directory to find model files. Mostly useful for tests.
Specify an instance_name. By default the instance name is copied from model name.
Specify where to write the configuration files. (Actual default
directory and file names depends on the model (See -model
option).
Specify where to read the configuration files. (Actual default
directory and file names depends on the model (See -model
option).
Be (very) verbose
Provide debug infos.
Provides a full stack trace when exiting on error.
Load file even if error are found in data. Bad data are discarded
You can use config-edit from another program by using -ui simple
option. This way you will be able to send command on the standard input
of config-edit and get the results from the standard output.
Dominique Dumont, ddumont at cpan dot org
the Config::Model::Model manpage, the Config::Model::Instance manpage, the Config::Model::HashId manpage, the Config::Model::ListId manpage, the Config::Model::WarpedNode manpage, the Config::Model::Value manpage
| config-edit - Edit data of configuration managed by Config::Model |