<spanid="cpl-core-configuration-configuration"></span><h2>cpl_core.configuration.configuration<aclass="headerlink"href="#module-cpl_core.configuration.configuration"title="Permalink to this heading"></a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_core.configuration.configuration.</span></span><spanclass="sig-name descname"><spanclass="pre">Configuration</span></span><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">add_configuration</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">key_type</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Union</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">,</span></span><spanclass="w"></span><spanclass="pre">type</span><spanclass="p"><spanclass="pre">]</span></span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">value</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Union</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">,</span></span><spanclass="w"></span><aclass="reference internal"href="#cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"title="cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"><spanclass="pre">ConfigurationModelABC</span></a><spanclass="p"><spanclass="pre">]</span></span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration.add_configuration"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">add_console_argument</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">argument</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">ArgumentABC</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration.add_console_argument"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">add_environment_variables</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">prefix</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration.add_environment_variables"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">add_json_file</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">name</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">optional</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">bool</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">output</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">bool</span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">True</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">path</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration.add_json_file"title="Permalink to this definition"></a></dt>
<dt>name: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Name of the file</p>
</dd>
<dt>optional: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Specifies whether an error should occur if the file was not found</p>
</dd>
<dt>output: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code></dt><dd><p>Specifies whether an output should take place</p>
</dd>
<dt>path: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Path in which the file should be stored</p>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">additional_arguments</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">list</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration.additional_arguments"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">argument_error_function</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">Callable</span><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration.argument_error_function"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">arguments</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">list</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">cpl_core.configuration.argument_abc.ArgumentABC</span><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration.arguments"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">create_console_argument</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">arg_type</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">ArgumentTypeEnum</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">token</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">name</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">aliases</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">list</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">ArgumentABC</span></span></span><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration.create_console_argument"title="Permalink to this definition"></a></dt>
<dd><p>Creates and adds a console argument to known console arguments</p>
<dt>name <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Specifies name of argument</p>
</dd>
<dt>aliases list[<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>]</dt><dd><p>Specifies possible aliases of name</p>
</dd>
<dt>value_token <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Specifies were the value begins</p>
</dd>
<dt>is_value_token_optional <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code></dt><dd><p>Specifies if values are optional</p>
</dd>
<dt>runnable: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.configuration.console_argument.ConsoleArgumentABC</span></code></dt><dd><p>Specifies class to run when called if value is not None</p>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">environment</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference internal"href="cpl_core.environment.html#cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC"title="cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC"><spanclass="pre">ApplicationEnvironmentABC</span></a></em><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration.environment"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">for_each_argument</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">call</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Callable</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration.for_each_argument"title="Permalink to this definition"></a></dt>
<dd><p>Iterates through all arguments and calls the call function</p>
<spanclass="sig-name descname"><spanclass="pre">get_configuration</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">search_type</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Union</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">,</span></span><spanclass="w"></span><spanclass="pre">Type</span><spanclass="p"><spanclass="pre">[</span></span><aclass="reference internal"href="#cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"title="cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"><spanclass="pre">ConfigurationModelABC</span></a><spanclass="p"><spanclass="pre">]</span></span><spanclass="p"><spanclass="pre">]</span></span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">Union</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">,</span></span><spanclass="w"></span><aclass="reference internal"href="#cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"title="cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"><spanclass="pre">ConfigurationModelABC</span></a><spanclass="p"><spanclass="pre">]</span></span><spanclass="p"><spanclass="pre">]</span></span></span></span><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration.get_configuration"title="Permalink to this definition"></a></dt>
<dd><p>Returns value from configuration by given type</p>
<spanclass="sig-name descname"><spanclass="pre">parse_console_arguments</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">services</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><aclass="reference internal"href="cpl_core.dependency_injection.html#cpl_core.dependency_injection.service_provider_abc.ServiceProviderABC"title="cpl_core.dependency_injection.service_provider_abc.ServiceProviderABC"><spanclass="pre">ServiceProviderABC</span></a></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">error</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">bool</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">bool</span></span></span><aclass="headerlink"href="#cpl_core.configuration.configuration.Configuration.parse_console_arguments"title="Permalink to this definition"></a></dt>
<dt>error: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code></dt><dd><p>Defines is invalid argument error will be shown or not</p>
<spanid="cpl-core-configuration-configuration-abc"></span><h2>cpl_core.configuration.configuration_abc<aclass="headerlink"href="#module-cpl_core.configuration.configuration_abc"title="Permalink to this heading"></a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_core.configuration.configuration_abc.</span></span><spanclass="sig-name descname"><spanclass="pre">ConfigurationABC</span></span><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">add_configuration</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">key_type</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Union</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">,</span></span><spanclass="w"></span><spanclass="pre">type</span><spanclass="p"><spanclass="pre">]</span></span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">value</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Union</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">,</span></span><spanclass="w"></span><aclass="reference internal"href="#cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"title="cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"><spanclass="pre">ConfigurationModelABC</span></a><spanclass="p"><spanclass="pre">]</span></span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC.add_configuration"title="Permalink to this definition"></a></dt>
<dd><p>Add configuration object</p>
<blockquote>
<div><dlclass="simple">
<dt>key_type: Union[<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>, <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">type</span></code>]</dt><dd><p>Type of the value</p>
</dd>
<dt>value: Union[<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>, <aclass="reference internal"href="#cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"title="cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.configuration.configuration_model_abc.ConfigurationModelABC</span></code></a>]</dt><dd><p>Object of the value</p>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">add_console_argument</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">argument</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">ArgumentABC</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC.add_console_argument"title="Permalink to this definition"></a></dt>
<dd><p>Adds console argument to known console arguments</p>
<blockquote>
<div><dlclass="simple">
<dt>argument: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.configuration.console_argument.ConsoleArgumentABC</span></code></dt><dd><p>Specifies the console argument</p>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">add_environment_variables</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">prefix</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC.add_environment_variables"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">add_json_file</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">name</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">optional</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">bool</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">output</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">bool</span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">True</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">path</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC.add_json_file"title="Permalink to this definition"></a></dt>
<dt>name: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Name of the file</p>
</dd>
<dt>optional: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Specifies whether an error should occur if the file was not found</p>
</dd>
<dt>output: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code></dt><dd><p>Specifies whether an output should take place</p>
</dd>
<dt>path: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Path in which the file should be stored</p>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">additional_arguments</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">list</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC.additional_arguments"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">argument_error_function</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">Callable</span><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC.argument_error_function"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">arguments</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">list</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">cpl_core.configuration.argument_abc.ArgumentABC</span><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC.arguments"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">create_console_argument</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">arg_type</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">ArgumentTypeEnum</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">token</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">name</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">aliases</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">list</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">ArgumentABC</span></span></span><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC.create_console_argument"title="Permalink to this definition"></a></dt>
<dd><p>Creates and adds a console argument to known console arguments</p>
<dt>name <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Specifies name of argument</p>
</dd>
<dt>aliases list[<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>]</dt><dd><p>Specifies possible aliases of name</p>
</dd>
<dt>value_token <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Specifies were the value begins</p>
</dd>
<dt>is_value_token_optional <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code></dt><dd><p>Specifies if values are optional</p>
</dd>
<dt>runnable: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.configuration.console_argument.ConsoleArgumentABC</span></code></dt><dd><p>Specifies class to run when called if value is not None</p>
</dd>
</dl>
</div></blockquote>
<blockquote>
<div><p>Object of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.configuration.console_argument.ConsoleArgumentABC</span></code></p>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">environment</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference internal"href="cpl_core.environment.html#cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC"title="cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC"><spanclass="pre">ApplicationEnvironmentABC</span></a></em><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC.environment"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">for_each_argument</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">call</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Callable</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC.for_each_argument"title="Permalink to this definition"></a></dt>
<dd><p>Iterates through all arguments and calls the call function</p>
<blockquote>
<div><dlclass="simple">
<dt>call: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Callable</span></code></dt><dd><p>Call for each argument</p>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">get_configuration</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">search_type</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Union</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">,</span></span><spanclass="w"></span><spanclass="pre">Type</span><spanclass="p"><spanclass="pre">[</span></span><aclass="reference internal"href="#cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"title="cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"><spanclass="pre">ConfigurationModelABC</span></a><spanclass="p"><spanclass="pre">]</span></span><spanclass="p"><spanclass="pre">]</span></span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">Union</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">,</span></span><spanclass="w"></span><aclass="reference internal"href="#cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"title="cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"><spanclass="pre">ConfigurationModelABC</span></a><spanclass="p"><spanclass="pre">]</span></span></span></span><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC.get_configuration"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">parse_console_arguments</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">services</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><aclass="reference internal"href="cpl_core.dependency_injection.html#cpl_core.dependency_injection.service_provider_abc.ServiceProviderABC"title="cpl_core.dependency_injection.service_provider_abc.ServiceProviderABC"><spanclass="pre">ServiceProviderABC</span></a></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">error</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">bool</span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">bool</span></span></span><aclass="headerlink"href="#cpl_core.configuration.configuration_abc.ConfigurationABC.parse_console_arguments"title="Permalink to this definition"></a></dt>
<dd><p>Reads the console arguments</p>
<blockquote>
<div><dlclass="simple">
<dt>error: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code></dt><dd><p>Defines is invalid argument error will be shown or not</p>
</dd>
</dl>
</div></blockquote>
<blockquote>
<div><p>Bool to specify if executables were executed or not.</p>
<spanid="cpl-core-configuration-configuration-model-abc"></span><h2>cpl_core.configuration.configuration_model_abc<aclass="headerlink"href="#module-cpl_core.configuration.configuration_model_abc"title="Permalink to this heading"></a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_core.configuration.configuration_model_abc.</span></span><spanclass="sig-name descname"><spanclass="pre">ConfigurationModelABC</span></span><aclass="headerlink"href="#cpl_core.configuration.configuration_model_abc.ConfigurationModelABC"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">from_dict</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">settings</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">dict</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration_model_abc.ConfigurationModelABC.from_dict"title="Permalink to this definition"></a></dt>
<spanid="cpl-core-configuration-configuration-variable-name-enum"></span><h2>cpl_core.configuration.configuration_variable_name_enum<aclass="headerlink"href="#module-cpl_core.configuration.configuration_variable_name_enum"title="Permalink to this heading"></a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_core.configuration.configuration_variable_name_enum.</span></span><spanclass="sig-name descname"><spanclass="pre">ConfigurationVariableNameEnum</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">value</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration_variable_name_enum.ConfigurationVariableNameEnum"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">customer</span></span><emclass="property"><spanclass="w"></span><spanclass="p"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="pre">'CUSTOMER'</span></em><aclass="headerlink"href="#cpl_core.configuration.configuration_variable_name_enum.ConfigurationVariableNameEnum.customer"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">environment</span></span><emclass="property"><spanclass="w"></span><spanclass="p"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="pre">'ENVIRONMENT'</span></em><aclass="headerlink"href="#cpl_core.configuration.configuration_variable_name_enum.ConfigurationVariableNameEnum.environment"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">name</span></span><emclass="property"><spanclass="w"></span><spanclass="p"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="pre">'NAME'</span></em><aclass="headerlink"href="#cpl_core.configuration.configuration_variable_name_enum.ConfigurationVariableNameEnum.name"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">static</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">to_list</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.configuration.configuration_variable_name_enum.ConfigurationVariableNameEnum.to_list"title="Permalink to this definition"></a></dt>
<h2>cpl_core.configuration.console_argument<aclass="headerlink"href="#cpl-core-configuration-console-argument"title="Permalink to this heading"></a></h2>