.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "App::Cme::Command::edit 3pm" .TH App::Cme::Command::edit 3pm 2024-01-21 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME App::Cme::Command::edit \- Edit the configuration of an application .SH VERSION .IX Header "VERSION" version 1.040 .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 2 \& # 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 .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Edit a configuration. By default, a Tk GUI will be opened if \f(CW\*(C`Config::Model::TkUI\*(C'\fR is installed. You can choose another user interface with the \f(CW\*(C`\-ui\*(C'\fR option: .IP \(bu 4 \&\f(CW\*(C`tk\*(C'\fR: provides a Tk graphical interface (If \f(CW\*(C`Config::Model::TkUI\*(C'\fR is installed). .IP \(bu 4 \&\f(CW\*(C`curses\*(C'\fR: provides a curses user interface (If Config::Model::CursesUI is installed). .IP \(bu 4 \&\f(CW\*(C`shell\*(C'\fR: provides a shell like interface. See Config::Model::TermUI for details. This is equivalent to running \f(CW\*(C`cme shell\*(C'\fR command. .SH "Common options" .IX Header "Common options" See "Global Options" in cme. .SH options .IX Header "options" .IP \-open\-item 4 .IX Item "-open-item" Open a specific item of the configuration when opening the editor. Trying to open a non-existing item triggers an error. .SH "SEE ALSO" .IX Header "SEE ALSO" cme .SH AUTHOR .IX Header "AUTHOR" Dominique Dumont .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is Copyright (c) 2014\-2022 by Dominique Dumont . .PP This is free software, licensed under: .PP .Vb 1 \& The GNU Lesser General Public License, Version 2.1, February 1999 .Ve