App::Cme::Command::modify (3)
Leading comments
Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) Standard preamble: ========================================================================
NAME
App::Cme::Command::modify - Modify the configuration of an applicationVERSION
version 1.022SYNOPSIS
# modify configuration with command line cme modify dpkg source 'format="(3.0) quilt"' # likewise with an application that accepts file override cme modify dpkg-copyright 'Comment="Modified with cme"'
DESCRIPTION
Modify a configuration file with the values passed on the command line. These command must follow the syntax defined in Config::Model::Loader (which is similar to the output of cme dump command)Example:
cme modify dpkg source format="(3.0) quilt" cme modify multistrap my_mstrap.conf sections:base source="ftp.fr.debian.org"
Some application like dpkg-copyright allows you to override the configuration file name. You must then use "-file" option:
cme modify dpkg-copyright -file ubuntu/copyright 'Comment="Silly example"
Common options
See ``Global Options'' in cme.options
- -save
- Force a save even if no change was done. Useful to reformat the configuration file.
SEE ALSO
cmeAUTHOR
Dominique DumontCOPYRIGHT AND LICENSE
This software is Copyright (c) 2017 by Dominique Dumont.This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999