1App::Cme::Command::editU(s3e)r Contributed Perl DocumentaAtpipo:n:Cme::Command::edit(3)
2
3
4

NAME

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

VERSION

9       version 1.032
10

SYNOPSIS

12         # edit dpkg config with GUI (requires Config::Model::Dpkg)
13         cme edit dpkg
14
15         # force usage of simple shell like interface
16         cme edit dpkg-copyright --ui shell
17
18         # edit /etc/sshd_config (requires Config::Model::OpenSsh)
19         sudo cme edit sshd
20
21         # edit ~/.ssh/config (requires Config::Model::OpenSsh)
22         cme edit ssh
23
24         # edit a file (file name specification is mandatory here)
25         cme edit multistrap my.conf
26

DESCRIPTION

28       Edit a configuration. By default, a Tk GUI will be opened if
29       "Config::Model::TkUI" is installed. You can choose another user
30       interface with the "-ui" option:
31
32       •   "tk": provides a Tk graphical interface (If "Config::Model::TkUI"
33           is installed).
34
35       •   "curses": provides a curses user interface (If
36           Config::Model::CursesUI is installed).
37
38       •   "shell": provides a shell like interface.  See
39           Config::Model::TermUI for details. This is equivalent to running
40           "cme shell" command.
41

Common options

43       See "Global Options" in cme.
44

options

46       -open-item
47           Open a specific item of the configuration when opening the editor
48

SEE ALSO

50       cme
51

AUTHOR

53       Dominique Dumont
54
56       This software is Copyright (c) 2014-2020 by Dominique Dumont.
57
58       This is free software, licensed under:
59
60         The GNU Lesser General Public License, Version 2.1, February 1999
61
62
63
64perl v5.32.1                      2021-03-16        App::Cme::Command::edit(3)
Impressum