App::Cme::Command::edit(3pm) User Contributed Perl Documentation App::Cme::Command::edit(3pm)

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

version 1.040

  # 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

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:

See "Global Options" in cme.

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

cme

Dominique Dumont

This software is Copyright (c) 2014-2022 by Dominique Dumont <ddumont@cpan.org>.

This is free software, licensed under:

  The GNU Lesser General Public License, Version 2.1, February 1999
2024-01-21 perl v5.38.2