.\" -*- 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::dump 3pm" .TH App::Cme::Command::dump 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::dump \- Dump the configuration of an application .SH VERSION .IX Header "VERSION" version 1.040 .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 6 \& # dump ~/.ssh/config in cme syntax \& # (this example requires Config::Model::OpenSsh) \& $ cme dump \-format cml ssh \& Host:"*" \- \& Host:"*.debian.org" \& User=dod \- .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Dump configuration content on STDOUT with YAML format. .PP By default, dump only custom values, i.e. different from application built-in values or model default values. You can use the \f(CW\*(C`\-dumptype\*(C'\fR option for other types of dump: .PP .Vb 1 \& \-dumptype [ full | custom | non_upstream_default ] .Ve .PP Choose to dump every values (full), or only customized values (default) .PP \&\f(CW\*(C`non_upstream_default\*(C'\fR is like \f(CW\*(C`full\*(C'\fR mode, but value identical with application default are omitted. But this should seldom happen. .PP By default, dump in yaml format. This can be changed in \f(CW\*(C`json\*(C'\fR, \&\f(CW\*(C`perl\*(C'\fR, \f(CW\*(C`cml\*(C'\fR (aka Config::Model::Loader format, \f(CW\*(C`cds\*(C'\fR is also accepted) with \f(CW\*(C`\-format\*(C'\fR option. .SH "Common options" .IX Header "Common options" See "Global Options" in cme. .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