cli: add `show-configuration-version` command
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 7 Aug 2020 21:32:24 +0000 (17:32 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 7 Aug 2020 21:32:24 +0000 (17:32 -0400)
commitf6c07d070788dc65fae031f9772bc04410147545
treeea4851eed83f02dbe287e75a860a5f6323f1080c
parent49419a0bd85188753160fd7e7b64f2f26cd896b1
cli: add `show-configuration-version` command

This new command prints either `2` or `3` on a single line depending on
the major version of the given configuration file, for example:

    $ barectf show-configuration-version my-config.yaml
    2

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