logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

App::Cme::Command::edit - Edit the configuration of an application

Author

       Dominique Dumont

Common Options

       See "Global Options" in cme.

Description

       Edit a configuration. By default, a Tk GUI will be opened if "Config::Model::TkUI" is installed. You can
       choose another user interface with the "-ui" option:

       •   "tk": provides a Tk graphical interface (If "Config::Model::TkUI" is installed).

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

       •   "shell":  provides a shell like interface.  See Config::Model::TermUI for details. This is equivalent
           to running "cme shell" command.

Name

       App::Cme::Command::edit - Edit the configuration of an application

Options

       -open-item
           Open a specific item of the configuration when opening the editor. Trying to open a non-existing item
           triggers an error.

See Also

       cme

Synopsis

         # edit dpkg config with GUI (requires Config::Model::Dpkg)
         cme edit dpkg

         # force usage of simple shell like interface
         cme edit dpkg-copyright --ui shell

         # edit /etc/sshd_config (requires Config::Model::OpenSsh)
         sudo cme edit sshd

         # edit ~/.ssh/config (requires Config::Model::OpenSsh)
         cme edit ssh

         # edit a file (file name specification is mandatory here)
         cme edit multistrap my.conf

Version

       version 1.041

See Also