1App::Cme::Command::dumpU(s3e)r Contributed Perl DocumentaAtpipo:n:Cme::Command::dump(3)
2
3
4
6 App::Cme::Command::dump - Dump the configuration of an application
7
9 version 1.038
10
12 # dump ~/.ssh/config in cme syntax
13 # (this example requires Config::Model::OpenSsh)
14 $ cme dump -format cml ssh
15 Host:"*" -
16 Host:"*.debian.org"
17 User=dod -
18
20 Dump configuration content on STDOUT with YAML format.
21
22 By default, dump only custom values, i.e. different from application
23 built-in values or model default values. You can use the "-dumptype"
24 option for other types of dump:
25
26 -dumptype [ full | custom | non_upstream_default ]
27
28 Choose to dump every values (full), or only customized values (default)
29
30 "non_upstream_default" is like "full" mode, but value identical with
31 application default are omitted. But this should seldom happen.
32
33 By default, dump in yaml format. This can be changed in "json", "perl",
34 "cml" (aka Config::Model::Loader format, "cds" is also accepted) with
35 "-format" option.
36
38 See "Global Options" in cme.
39
41 cme
42
44 Dominique Dumont
45
47 This software is Copyright (c) 2014-2022 by Dominique Dumont
48 <ddumont@cpan.org>.
49
50 This is free software, licensed under:
51
52 The GNU Lesser General Public License, Version 2.1, February 1999
53
54
55
56perl v5.36.0 2022-07-22 App::Cme::Command::dump(3)