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.033
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-2020 by Dominique Dumont.
48
49 This is free software, licensed under:
50
51 The GNU Lesser General Public License, Version 2.1, February 1999
52
53
54
55perl v5.34.0 2021-09-23 App::Cme::Command::dump(3)