App::Cme::Command::dump - Dump the configuration of an application
version 1.040
# dump ~/.ssh/config in cme syntax # (this example requires Config::Model::OpenSsh) $ cme dump -format cml ssh Host:"*" - Host:"*.debian.org" User=dod -
Dump configuration content on STDOUT with YAML format.
By default, dump only custom values, i.e. different from application built-in values or model default values. You can use the -dumptype option for other types of dump:
-dumptype
-dumptype [ full | custom | non_upstream_default ]
Choose to dump every values (full), or only customized values (default)
non_upstream_default is like full mode, but value identical with application default are omitted. But this should seldom happen.
non_upstream_default
full
By default, dump in yaml format. This can be changed in json, perl, cml (aka Config::Model::Loader format, cds is also accepted) with -format option.
json
perl
cml
cds
-format
See "Global Options" in cme.
cme
Dominique Dumont
This software is Copyright (c) 2014-2022 by Dominique Dumont <ddumont@cpan.org>.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
To install App::Cme, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Cme
CPAN shell
perl -MCPAN -e shell install App::Cme
For more information on module installation, please visit the detailed CPAN module installation guide.