cli: add `show-effective-configuration` command
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 7 Aug 2020 21:17:13 +0000 (17:17 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 7 Aug 2020 21:18:02 +0000 (17:18 -0400)
commit49419a0bd85188753160fd7e7b64f2f26cd896b1
treea2f4842633560945fd2b9fada4e39cf4ab2d85a8
parentddfa89036a644ee14abd92e0b0281836780968c7
cli: add `show-effective-configuration` command

This new command is equivalent to `generate --dump-config`, but in a
more dedicated way:

    $ barectf show-effective-configuration config.yaml

It only accepts relevant options.

One of the options is `--indent-spaces` which controls the indentation
space count of printed YAML lines.

This patch deprecates `--dump-config`: I'll leave it working in
barectf 3 to remain backward-compatible, but I'm removing it from the
`generate` command's help.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
barectf/cli.py
This page took 0.022037 seconds and 4 git commands to generate.