App::Cme::Command::dump(3pm)

App::Cme::Command::dump3pm

Dump the configuration of an application

Usage

  # dump ~/.ssh/config in cme syntax
  # (this example requires Config::Model::OpenSsh)
  $ cme dump -format cml ssh
  Host:"*" -
  Host:"*.debian.org"
    User=dod -

Version

version 1.041

Overview

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 [ 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.

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.

Options

See "Global Options" in cme.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Dominique Dumont

From cme 1.041-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.