Unverified Commit a89595c1 authored by Agustin  Larreinegabe's avatar Agustin Larreinegabe Committed by GitHub
Browse files

Merge pull request #47 from bonitasoft/BCD-222_bcd-version-command

add version option and command to CLI doc (BCD-240)
parents e48b1209 40be5eb0
......@@ -40,6 +40,11 @@ $ export BCD_SCENARIO=scenarios/euwest1_performance.yml
$ bcd livingapp build -p path/to/livingapp-repo -e Qualification
```
Running the `version` command which does not require a scenario file:
```
$ bcd version
```
## Multi command chaining
......@@ -110,6 +115,12 @@ You can also see this information by running `bcd --help` and `bcd [SUBCOMMAND]
<dd><p>Show this help message</p>
</dd></dl>
<dl class="option">
<dt id="cmdoption-bcd-version">
<code class="descname">--version</code><code class="descclassname"></code></dt>
<dd><p>Show the version and exit.</p>
</dd></dl>
<div class="section" id="bcd-livingapp">
<span class="h3">livingapp</span>
<p>Manage Bonita Living Application</p>
......@@ -277,5 +288,19 @@ You can also see this information by running `bcd --help` and `bcd [SUBCOMMAND]
</dd></dl>
</div>
</div>
<div class="section" id="bcd-version">
<span class="h3">version</span>
<p>Show BCD version information</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>bcd version <span class="o">[</span>OPTIONS<span class="o">]</span>
</pre></div>
</div>
<p class="rubric">Options</p>
<dl class="option">
<dt id="cmdoption-bcd-version-h">
<code class="descname">-h</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--help</code><code class="descclassname"></code></dt>
<dd><p>Show this help message</p>
</dd></dl>
</div>
</div>
......@@ -132,10 +132,12 @@ Options:
-e, --extra-vars TEXT Extra vars for Ansible (multiple) - Variables are
passed using the key=value syntax.
-h, --help Show this help message
--version Show the version and exit.
Commands:
livingapp Manage Bonita Living Application
stack Manage Bonita stack (infrastructure)
version Show BCD version information
```
::: info
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment