| config-model-edit - Graphical model editor for Config::Model |
config-model-edit - Graphical model editor for Config::Model
config-model-edit [options] -model Xorg
config-model-edit will provides a Perl/Tk graphical interface to edit configuration models that will be used by Config::Model.
Config::Model is a general purpose configuration framework based on configuration models (See the Config::Model manpage for details).
This configuration model is also expressed as structured data. This structure data is structured and follow a set of rules which are described for humans in the Config::Model manpage.
The structure and rules documented in the Config::Model manpage are also expressed in a model in the files provided with the Config::Model::Itself manpage.
Hence the possibity to verify, modify configuration data provided by Config::Model can also be applied on configuration models using the same user interface as config-edit.
The model editor program is config-model-edit.
By default, config-model-edit will try to load a model file from
lib/Config/Model/models. If no model is found, config-model-edit
will try to load installed models (i.e. located in
/usr/share/perl/...).
Modified models will be saved (by default) in
$PWD/lib/Config/Model/models/.
You can override this behavior with option -dir.
When you specify a -model options, only configuration models matching
this options will be loaded. I.e.
config-model-edit -model Xorg
will load models Xorg (file Xorg.pl) and all other Xorg::* like
Xorg::Screen (file Xorg/Screen.pl).
Mandatory option that specifies the configuration data to be edited. By default, installed models will be edited. If you are running 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.
shell: provides a shell like interface. See the Config::Model::TermUI manpage
for details.
curses: provides a curses user interface (If
Config::Model::CursesUI is installed).
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
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-model-edit - Graphical model editor for Config::Model |