<spanid="composer-cli-blueprints-module"></span><h2>composer.cli.blueprints module<aclass="headerlink"href="#module-composer.cli.blueprints"title="Permalink to this headline">¶</a></h2>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_changes</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_changes"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_changes"title="Permalink to this definition">¶</a></dt>
<dd><p>Display the changes for each of the blueprints</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_cmd</code><spanclass="sig-paren">(</span><em>opts</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_cmd"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_delete</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_delete"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_delete"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_depsolve</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_depsolve"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_depsolve"title="Permalink to this definition">¶</a></dt>
<dd><p>Display the packages needed to install the blueprint</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_diff</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_diff"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_diff"title="Permalink to this definition">¶</a></dt>
<dd><p>Display the differences between 2 versions of a blueprint</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<dt>blueprints diff <blueprint-name> Display the differences between 2 versions of a blueprint.</dt><dd><p><from-commit> Commit hash or NEWEST
<to-commit> Commit hash, NEWEST, or WORKSPACE</p>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_freeze</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_freeze"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_freeze"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_freeze_save</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_freeze_save"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_freeze_save"title="Permalink to this definition">¶</a></dt>
<dd><p>Save the frozen blueprint to a TOML file</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_freeze_show</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_freeze_show"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_freeze_show"title="Permalink to this definition">¶</a></dt>
<dd><p>Show the frozen blueprint in TOML format</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_list</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_list"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_list"title="Permalink to this definition">¶</a></dt>
<dd><p>Output the list of available blueprints</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_push</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_push"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_push"title="Permalink to this definition">¶</a></dt>
<dd><p>Push a blueprint TOML file to the server, updating the blueprint</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<p>push <blueprint> Push a blueprint TOML file to the server.</p>
</dd></dl>
<dlclass="function">
<dtid="composer.cli.blueprints.blueprints_save">
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_save</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_save"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_save"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_show</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_show"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_show"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_tag</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_tag"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_tag"title="Permalink to this definition">¶</a></dt>
<dd><p>Tag the most recent blueprint commit as a release</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<p>blueprints tag <blueprint> Tag the most recent blueprint commit as a release.</p>
</dd></dl>
<dlclass="function">
<dtid="composer.cli.blueprints.blueprints_undo">
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_undo</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_undo"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_undo"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">blueprints_workspace</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#blueprints_workspace"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.blueprints_workspace"title="Permalink to this definition">¶</a></dt>
<dd><p>Push the blueprint TOML to the temporary workspace storage</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">prettyCommitDetails</code><spanclass="sig-paren">(</span><em>change</em>, <em>indent=4</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#prettyCommitDetails"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.prettyCommitDetails"title="Permalink to this definition">¶</a></dt>
<li><p><strong>indent</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.7)"><em>int</em></a>) -- Number of spaces to indent</p></li>
<codeclass="descclassname">composer.cli.blueprints.</code><codeclass="descname">prettyDiffEntry</code><spanclass="sig-paren">(</span><em>diff</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/blueprints.html#prettyDiffEntry"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.blueprints.prettyDiffEntry"title="Permalink to this definition">¶</a></dt>
<spanid="composer-cli-cmdline-module"></span><h2>composer.cli.cmdline module<aclass="headerlink"href="#module-composer.cli.cmdline"title="Permalink to this headline">¶</a></h2>
<dlclass="function">
<dtid="composer.cli.cmdline.composer_cli_parser">
<codeclass="descclassname">composer.cli.cmdline.</code><codeclass="descname">composer_cli_parser</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/cmdline.html#composer_cli_parser"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.cmdline.composer_cli_parser"title="Permalink to this definition">¶</a></dt>
<spanid="composer-cli-compose-module"></span><h2>composer.cli.compose module<aclass="headerlink"href="#module-composer.cli.compose"title="Permalink to this headline">¶</a></h2>
<dlclass="function">
<dtid="composer.cli.compose.compose_cancel">
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_cancel</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em>, <em>testmode=0</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_cancel"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_cancel"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<li><p><strong>testmode</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.7)"><em>int</em></a>) -- unused in this function</p></li>
<p>This will cancel a running compose. It does nothing if the compose has finished.</p>
</dd></dl>
<dlclass="function">
<dtid="composer.cli.compose.compose_cmd">
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_cmd</code><spanclass="sig-paren">(</span><em>opts</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_cmd"title="Permalink to this definition">¶</a></dt>
<p>This dispatches the compose commands to a function</p>
</dd></dl>
<dlclass="function">
<dtid="composer.cli.compose.compose_delete">
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_delete</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em>, <em>testmode=0</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_delete"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_delete"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<li><p><strong>testmode</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.7)"><em>int</em></a>) -- unused in this function</p></li>
<p>Delete the listed compose results. It will only delete results for composes that have finished
or failed, not a running compose.</p>
</dd></dl>
<dlclass="function">
<dtid="composer.cli.compose.compose_image">
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_image</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em>, <em>testmode=0</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_image"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_image"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<li><p><strong>testmode</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.7)"><em>int</em></a>) -- unused in this function</p></li>
<p>This downloads only the result image, saving it as the image name, which depends on the type
of compose that was selected.</p>
</dd></dl>
<dlclass="function">
<dtid="composer.cli.compose.compose_info">
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_info</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em>, <em>testmode=0</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_info"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_info"title="Permalink to this definition">¶</a></dt>
<dd><p>Return detailed information about the compose</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<li><p><strong>testmode</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.7)"><em>int</em></a>) -- unused in this function</p></li>
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_list</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em>, <em>testmode=0</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_list"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_list"title="Permalink to this definition">¶</a></dt>
<dd><p>Return a simple list of compose identifiers</p>
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_log</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em>, <em>testmode=0</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_log"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_log"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<li><p><strong>testmode</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.7)"><em>int</em></a>) -- unused in this function</p></li>
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_logs</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em>, <em>testmode=0</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_logs"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_logs"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<li><p><strong>testmode</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.7)"><em>int</em></a>) -- unused in this function</p></li>
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_metadata</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em>, <em>testmode=0</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_metadata"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_metadata"title="Permalink to this definition">¶</a></dt>
<dd><p>Download a tar file of the compose's metadata</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<li><p><strong>testmode</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.7)"><em>int</em></a>) -- unused in this function</p></li>
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_results</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em>, <em>testmode=0</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_results"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_results"title="Permalink to this definition">¶</a></dt>
<dd><p>Download a tar file of the compose's results</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<li><p><strong>testmode</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.7)"><em>int</em></a>) -- unused in this function</p></li>
<p>The results includes the metadata, output image, and logs.
It is saved as uuid.tar</p>
</dd></dl>
<dlclass="function">
<dtid="composer.cli.compose.compose_start">
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_start</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em>, <em>testmode=0</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_start"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_start"title="Permalink to this definition">¶</a></dt>
<dd><p>Start a new compose using the selected blueprint and type</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<li><p><strong>testmode</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.7)"><em>int</em></a>) -- Set to 1 to simulate a failed compose, set to 2 to simulate a finished one.</p></li>
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_status</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em>, <em>testmode=0</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_status"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_status"title="Permalink to this definition">¶</a></dt>
<dd><p>Return the status of all known composes</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<li><p><strong>testmode</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.7)"><em>int</em></a>) -- unused in this function</p></li>
and failed so raw JSON output is not available.</p>
</dd></dl>
<dlclass="function">
<dtid="composer.cli.compose.compose_types">
<codeclass="descclassname">composer.cli.compose.</code><codeclass="descname">compose_types</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em>, <em>testmode=0</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/compose.html#compose_types"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.compose.compose_types"title="Permalink to this definition">¶</a></dt>
<dd><p>Return information about the supported compose types</p>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<li><p><strong>testmode</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.7)"><em>int</em></a>) -- unused in this function</p></li>
<spanid="composer-cli-help-module"></span><h2>composer.cli.help module<aclass="headerlink"href="#module-composer.cli.help"title="Permalink to this headline">¶</a></h2>
<spanid="composer-cli-modules-module"></span><h2>composer.cli.modules module<aclass="headerlink"href="#module-composer.cli.modules"title="Permalink to this headline">¶</a></h2>
<dlclass="function">
<dtid="composer.cli.modules.modules_cmd">
<codeclass="descclassname">composer.cli.modules.</code><codeclass="descname">modules_cmd</code><spanclass="sig-paren">(</span><em>opts</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/modules.html#modules_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.modules.modules_cmd"title="Permalink to this definition">¶</a></dt>
<spanid="composer-cli-projects-module"></span><h2>composer.cli.projects module<aclass="headerlink"href="#module-composer.cli.projects"title="Permalink to this headline">¶</a></h2>
<dlclass="function">
<dtid="composer.cli.projects.projects_cmd">
<codeclass="descclassname">composer.cli.projects.</code><codeclass="descname">projects_cmd</code><spanclass="sig-paren">(</span><em>opts</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/projects.html#projects_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.projects.projects_cmd"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">composer.cli.projects.</code><codeclass="descname">projects_info</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/projects.html#projects_info"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.projects.projects_info"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.projects.</code><codeclass="descname">projects_list</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/projects.html#projects_list"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.projects.projects_list"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<spanid="composer-cli-sources-module"></span><h2>composer.cli.sources module<aclass="headerlink"href="#module-composer.cli.sources"title="Permalink to this headline">¶</a></h2>
<dlclass="function">
<dtid="composer.cli.sources.sources_add">
<codeclass="descclassname">composer.cli.sources.</code><codeclass="descname">sources_add</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/sources.html#sources_add"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.sources.sources_add"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.sources.</code><codeclass="descname">sources_cmd</code><spanclass="sig-paren">(</span><em>opts</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/sources.html#sources_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.sources.sources_cmd"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">composer.cli.sources.</code><codeclass="descname">sources_delete</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/sources.html#sources_delete"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.sources.sources_delete"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.sources.</code><codeclass="descname">sources_info</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/sources.html#sources_info"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.sources.sources_info"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<codeclass="descclassname">composer.cli.sources.</code><codeclass="descname">sources_list</code><spanclass="sig-paren">(</span><em>socket_path</em>, <em>api_version</em>, <em>args</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/sources.html#sources_list"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.sources.sources_list"title="Permalink to this definition">¶</a></dt>
<li><p><strong>socket_path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Path to the Unix socket to use for API communication</p></li>
<li><p><strong>api_version</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.7)"><em>str</em></a>) -- Version of the API to talk to. eg. "0"</p></li>
<li><p><strong>args</strong> (<em>list of str</em>) -- List of remaining arguments from the cmdline</p></li>
<li><p><strong>show_json</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.7)"><em>bool</em></a>) -- Set to True to show the JSON output instead of the human readable output</p></li>
<spanid="composer-cli-status-module"></span><h2>composer.cli.status module<aclass="headerlink"href="#module-composer.cli.status"title="Permalink to this headline">¶</a></h2>
<dlclass="function">
<dtid="composer.cli.status.status_cmd">
<codeclass="descclassname">composer.cli.status.</code><codeclass="descname">status_cmd</code><spanclass="sig-paren">(</span><em>opts</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/status.html#status_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.status.status_cmd"title="Permalink to this definition">¶</a></dt>
<spanid="composer-cli-utilities-module"></span><h2>composer.cli.utilities module<aclass="headerlink"href="#module-composer.cli.utilities"title="Permalink to this headline">¶</a></h2>
<dlclass="function">
<dtid="composer.cli.utilities.argify">
<codeclass="descclassname">composer.cli.utilities.</code><codeclass="descname">argify</code><spanclass="sig-paren">(</span><em>args</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/utilities.html#argify"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.utilities.argify"title="Permalink to this definition">¶</a></dt>
<dd><p>Take a list of human args and return a list with each item</p>
<codeclass="descclassname">composer.cli.utilities.</code><codeclass="descname">frozen_toml_filename</code><spanclass="sig-paren">(</span><em>blueprint_name</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/utilities.html#frozen_toml_filename"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.utilities.frozen_toml_filename"title="Permalink to this definition">¶</a></dt>
<dd><p>Convert a blueprint name into a filename.toml</p>
<codeclass="descclassname">composer.cli.utilities.</code><codeclass="descname">handle_api_result</code><spanclass="sig-paren">(</span><em>result</em>, <em>show_json=False</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/utilities.html#handle_api_result"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.utilities.handle_api_result"title="Permalink to this definition">¶</a></dt>
<dd><p>Log any errors, return the correct value</p>
<ddclass="field-odd"><p><strong>result</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#dict"title="(in Python v3.7)"><em>dict</em></a>) -- JSON result from the http query</p>
<codeclass="descclassname">composer.cli.utilities.</code><codeclass="descname">packageNEVRA</code><spanclass="sig-paren">(</span><em>pkg</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/utilities.html#packageNEVRA"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.utilities.packageNEVRA"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">composer.cli.utilities.</code><codeclass="descname">toml_filename</code><spanclass="sig-paren">(</span><em>blueprint_name</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli/utilities.html#toml_filename"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.utilities.toml_filename"title="Permalink to this definition">¶</a></dt>
<dd><p>Convert a blueprint name into a filename.toml</p>
<spanid="module-contents"></span><h2>Module contents<aclass="headerlink"href="#module-composer.cli"title="Permalink to this headline">¶</a></h2>
<dlclass="function">
<dtid="composer.cli.main">
<codeclass="descclassname">composer.cli.</code><codeclass="descname">main</code><spanclass="sig-paren">(</span><em>opts</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/composer/cli.html#main"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#composer.cli.main"title="Permalink to this definition">¶</a></dt>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.