The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

config-model-edit - Edit Config::Model models

SYNOPSIS

  config-model-edit [options] -model Fstab

DESCRIPTION

Config-model is a general purpose configuration framework. Models stored in //etc/config-model.d are configuration description.

TBD

The config-model-edit program will use these configuration descriptions to provide a user interface so user can easily and securely modify the configuration of their system.

Options

-model

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 Config::Model for more details.

-if

Specify the user interface type.

  • shell: provides a shell like interface. See Config::Model::TermUI for details.

  • curses: provides a curses user interface (If Config::Model::CursesUI is installed).

-model_dir

Specify an alternate directory to find model files. Mostly useful for tests.

-write_conf_dir

Specify where to write the configuration files. (Actual default directory and file names depends on the model (See -model option).

-read_conf_dir

Specify where to read the configuration files. (Actual default directory and file names depends on the model (See -model option).

-verbose

Be (very) verbose

-debug

Provide debug infos.

-trace

Provides a full stack trace when exiting on error.

AUTHOR

Dominique Dumont, ddumont at cpan dot org

SEE ALSO

Config::Model::Model, Config::Model::Instance, Config::Model::HashId, Config::Model::ListId, Config::Model::WarpedNode, Config::Model::Value