.\" -*- 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::update 3pm" .TH App::Cme::Command::update 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::update \- Update the configuration of an application .SH VERSION .IX Header "VERSION" version 1.040 .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 2 \& cme update \& # example: cme update dpkg\-copyright .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Update a configuration file. The update is done scanning external resource. .PP For instance, \f(CW\*(C`cme update dpkg\-copyright\*(C'\fR command can be used to update a specific Debian package file (\f(CW\*(C`debian/copyright\*(C'\fR). This is done by scanning the headers of source files. .PP Currently, only dpkg-copyright application currently supports updates. .PP The configuration data (i.e. the content of \f(CW\*(C`debian/copyright\*(C'\fR in this example) is mapped to a tree structure inside cme. You can: .IP \(bu 4 view this structure in YAML format by running \f(CW\*(C`cme dump dpkg\-copyright\*(C'\fR .IP \(bu 4 view this structure in Config::Model's format (aka \f(CW\*(C`cml\*(C'\fR) by running \&\f(CW\*(C`cme dump \-format cml dpkg\-copyright\*(C'\fR. This format is documented in Config::Model::Loader. .IP \(bu 4 get a graphical view with \f(CW\*(C`cme edit dpkg\-copyright\*(C'\fR. .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 .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