Compare commits

..

No commits in common. "315b8e631a60cd9fd613f69ef09bec0d0aaf2b1f" and "43710717c9e5c0bb6f98e2a6c6d9155dacc01a00" have entirely different histories.

704 changed files with 20852 additions and 15948 deletions

View File

@ -87,7 +87,7 @@
Install the CPL package Install the CPL package
```sh ```sh
pip install cpl-core --extra-index-url https://pip.sh-edraft.de pip install cpl --extra-index-url https://pip.sh-edraft.de
``` ```
Install the CPL CLI Install the CPL CLI

View File

@ -1,6 +1,6 @@
{ {
"WorkspaceSettings": { "WorkspaceSettings": {
"DefaultProject": "cpl-core", "DefaultProject": "cpl-cli",
"Projects": { "Projects": {
"cpl-cli": "src/cpl_cli/cpl-cli.json", "cpl-cli": "src/cpl_cli/cpl-cli.json",
"cpl-core": "src/cpl_core/cpl-core.json", "cpl-core": "src/cpl_core/cpl-core.json",
@ -19,15 +19,13 @@
"Scripts": { "Scripts": {
"hello-world": "echo 'Hello World'", "hello-world": "echo 'Hello World'",
"format": "echo 'Formatting:'; black ./",
"sv": "cpl set-version", "sv": "cpl set-version",
"set-version": "cpl run set-version --dev $ARGS; echo '';", "set-version": "cpl run set-version --dev $ARGS; echo '';",
"spu": "cpl set-pip-urls", "spu": "cpl set-pip-urls",
"set-pip-urls": "cpl run set-pip-urls --dev $ARGS; echo '';", "set-pip-urls": "cpl run set-pip-urls --dev $ARGS; echo '';",
"docs-build": "cpl format; echo 'Build Documentation'; cpl db-core; cpl db-discord; cpl db-query; cpl db-translation; cd docs/; make clean; make html;", "docs-build": "echo 'Build Documentation'; cpl db-core; cpl db-discord; cpl db-query; cpl db-translation; cd docs/; make clean; make html; # rm source/cpl_query.tests.rst;",
"db-core": "cd docs/; sphinx-apidoc -o source/ ../src/cpl_core; cd ../", "db-core": "cd docs/; sphinx-apidoc -o source/ ../src/cpl_core; cd ../",
"db-discord": "cd docs/; sphinx-apidoc -o source/ ../src/cpl_discord; cd ../", "db-discord": "cd docs/; sphinx-apidoc -o source/ ../src/cpl_discord; cd ../",
"db-query": "cd docs/; sphinx-apidoc -o source/ ../src/cpl_query; cd ../", "db-query": "cd docs/; sphinx-apidoc -o source/ ../src/cpl_query; cd ../",

BIN
docs/build/doctrees/cli.add.doctree vendored Normal file

Binary file not shown.

BIN
docs/build/doctrees/cli.build.doctree vendored Normal file

Binary file not shown.

BIN
docs/build/doctrees/cli.generate.doctree vendored Normal file

Binary file not shown.

BIN
docs/build/doctrees/cli.help.doctree vendored Normal file

Binary file not shown.

BIN
docs/build/doctrees/cli.install.doctree vendored Normal file

Binary file not shown.

BIN
docs/build/doctrees/cli.new.doctree vendored Normal file

Binary file not shown.

BIN
docs/build/doctrees/cli.overview.doctree vendored Normal file

Binary file not shown.

BIN
docs/build/doctrees/cli.publish.doctree vendored Normal file

Binary file not shown.

BIN
docs/build/doctrees/cli.remove.doctree vendored Normal file

Binary file not shown.

BIN
docs/build/doctrees/cli.run.doctree vendored Normal file

Binary file not shown.

BIN
docs/build/doctrees/cli.start.doctree vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
docs/build/doctrees/cli.update.doctree vendored Normal file

Binary file not shown.

BIN
docs/build/doctrees/cli.version.doctree vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,4 @@
# Sphinx build info version 1 # Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 7161cd79d6fb56140ef1c390e01dab1c config: 7051b788adc6d655ae340e56640c6925
tags: 645f666f9bcd5a90fca523b33c5a78b7 tags: 645f666f9bcd5a90fca523b33c5a78b7

View File

@ -29,4 +29,4 @@ If you call the command in a CPL workspace, you can use the project names. Other
| Argument | Description | | Argument | Description |
|------------------|:------------------------------------------:| |------------------|:------------------------------------------:|
| ```--simulate``` | Specifies whether the command is simulated | | ```--simulate``` | Specifies whether the command is simulated |

View File

@ -39,15 +39,15 @@ The cpl generate command takes as an argument the artifact to be generated. In
| Command | Alias | Description | | Command | Alias | Description |
| ----------------------------- |:-------------:|:----------------:| | ----------------------------- |:-------------:|:----------------:|
| [add](cpl_cli.add) | a or a | Adds a project reference to given project. | [add](cli.add) | a or a | Adds a project reference to given project.
| [build](cpl_cli.build) | b or B | Prepares files for publish into an output directory named dist/ at the given output path. Must be executed from within a workspace directory. | [build](cli.build) | b or B | Prepares files for publish into an output directory named dist/ at the given output path. Must be executed from within a workspace directory.
| [generate](cpl_cli.generate) | g or G | Generate a new file. | [generate](cli.generate) | g or G | Generate a new file.
| [help](cpl_cli.help) | h or H | Lists available command and their short descriptions. | [help](cli.help) | h or H | Lists available command and their short descriptions.
| [install](cpl_cli.install) | i or I | With argument installs packages to project, without argument installs project dependencies. | [install](cli.install) | i or I | With argument installs packages to project, without argument installs project dependencies.
| [new](cpl_cli.new) | n or N | Creates new CPL project. | [new](cli.new) | n or N | Creates new CPL project.
| [publish](cpl_cli.publish) | p or P | Prepares files for publish into an output directory named dist/ at the given output path and executes ```setup.py```. Must be executed from within a library workspace directory. | [publish](cli.publish) | p or P | Prepares files for publish into an output directory named dist/ at the given output path and executes ```setup.py```. Must be executed from within a library workspace directory.
| [remove](cpl_cli.remove) | r or R | Removes a project from workspace. | [remove](cli.remove) | r or R | Removes a project from workspace.
| [start](cpl_cli.start) | s or S | Starts CPL project, restarting on file changes. | [start](cli.start) | s or S | Starts CPL project, restarting on file changes.
| [uninstall](cpl_cli.uninstall) | ui or UI | Uninstalls packages from project. | [uninstall](cli.uninstall) | ui or UI | Uninstalls packages from project.
| [update](cpl_cli.update) | u or U | Update CPL and project dependencies. | [update](cli.update) | u or U | Update CPL and project dependencies.
| [version](cpl_cli.version) | v or V | Outputs CPL CLI version. | [version](cli.version) | v or V | Outputs CPL CLI version.

View File

@ -4,17 +4,16 @@ CLI reference
.. toctree:: .. toctree::
:maxdepth: 4 :maxdepth: 4
cpl_cli.overview cli.overview
cpl_cli.add cli.add
cpl_cli.build cli.build
cpl_cli.generate cli.generate
cpl_cli.help cli.help
cpl_cli.install cli.install
cpl_cli.new cli.new
cpl_cli.publish cli.publish
cpl_cli.remove cli.remove
cpl_cli.run cli.start
cpl_cli.start cli.uninstall
cpl_cli.uninstall cli.update
cpl_cli.update cli.version
cpl_cli.version

View File

@ -1,61 +1,34 @@
cpl\_core.application package cpl_core.application
============================= =======================
Submodules cpl_core.application.application\_abc
---------- ---------------------------------------
cpl\_core.application.application\_abc module
---------------------------------------------
.. automodule:: cpl_core.application.application_abc .. automodule:: cpl_core.application.application_abc
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.application.application\_builder module cpl_core.application.application\_builder
------------------------------------------------- -------------------------------------------
.. automodule:: cpl_core.application.application_builder .. automodule:: cpl_core.application.application_builder
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.application.application\_builder\_abc module cpl_core.application.application\_builder\_abc
------------------------------------------------------ ------------------------------------------------
.. automodule:: cpl_core.application.application_builder_abc .. automodule:: cpl_core.application.application_builder_abc
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.application.application\_extension\_abc module cpl_core.application.startup\_abc
-------------------------------------------------------- -----------------------------------
.. automodule:: cpl_core.application.application_extension_abc
:members:
:undoc-members:
:show-inheritance:
cpl\_core.application.startup\_abc module
-----------------------------------------
.. automodule:: cpl_core.application.startup_abc .. automodule:: cpl_core.application.startup_abc
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.application.startup\_extension\_abc module
----------------------------------------------------
.. automodule:: cpl_core.application.startup_extension_abc
:members:
:undoc-members:
:show-inheritance:
Module contents
---------------
.. automodule:: cpl_core.application
:members:
:undoc-members:
:show-inheritance:

View File

@ -1,109 +1,42 @@
cpl\_core.configuration package cpl_core.configuration
=============================== =========================
Submodules cpl_core.configuration.configuration
---------- --------------------------------------
cpl\_core.configuration.argument\_abc module
--------------------------------------------
.. automodule:: cpl_core.configuration.argument_abc
:members:
:undoc-members:
:show-inheritance:
cpl\_core.configuration.argument\_builder module
------------------------------------------------
.. automodule:: cpl_core.configuration.argument_builder
:members:
:undoc-members:
:show-inheritance:
cpl\_core.configuration.argument\_executable\_abc module
--------------------------------------------------------
.. automodule:: cpl_core.configuration.argument_executable_abc
:members:
:undoc-members:
:show-inheritance:
cpl\_core.configuration.argument\_type\_enum module
---------------------------------------------------
.. automodule:: cpl_core.configuration.argument_type_enum
:members:
:undoc-members:
:show-inheritance:
cpl\_core.configuration.configuration module
--------------------------------------------
.. automodule:: cpl_core.configuration.configuration .. automodule:: cpl_core.configuration.configuration
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.configuration.configuration\_abc module cpl_core.configuration.configuration\_abc
------------------------------------------------- -------------------------------------------
.. automodule:: cpl_core.configuration.configuration_abc .. automodule:: cpl_core.configuration.configuration_abc
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.configuration.configuration\_model\_abc module cpl_core.configuration.configuration\_model\_abc
-------------------------------------------------------- --------------------------------------------------
.. automodule:: cpl_core.configuration.configuration_model_abc .. automodule:: cpl_core.configuration.configuration_model_abc
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.configuration.configuration\_variable\_name\_enum module cpl_core.configuration.configuration\_variable\_name\_enum
------------------------------------------------------------------ ------------------------------------------------------------
.. automodule:: cpl_core.configuration.configuration_variable_name_enum .. automodule:: cpl_core.configuration.configuration_variable_name_enum
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.configuration.executable\_argument module cpl_core.configuration.console\_argument
--------------------------------------------------- ------------------------------------------
.. automodule:: cpl_core.configuration.executable_argument .. automodule:: cpl_core.configuration.console_argument
:members:
:undoc-members:
:show-inheritance:
cpl\_core.configuration.flag\_argument module
---------------------------------------------
.. automodule:: cpl_core.configuration.flag_argument
:members:
:undoc-members:
:show-inheritance:
cpl\_core.configuration.validator\_abc module
---------------------------------------------
.. automodule:: cpl_core.configuration.validator_abc
:members:
:undoc-members:
:show-inheritance:
cpl\_core.configuration.variable\_argument module
-------------------------------------------------
.. automodule:: cpl_core.configuration.variable_argument
:members:
:undoc-members:
:show-inheritance:
Module contents
---------------
.. automodule:: cpl_core.configuration
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:

View File

@ -1,53 +1,42 @@
cpl\_core.console package cpl_core.console
========================= ===================
Submodules cpl_core.console.background\_color\_enum
---------- ------------------------------------------
cpl\_core.console.background\_color\_enum module
------------------------------------------------
.. automodule:: cpl_core.console.background_color_enum .. automodule:: cpl_core.console.background_color_enum
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.console.console module cpl_core.console.console
-------------------------------- --------------------------
.. automodule:: cpl_core.console.console .. automodule:: cpl_core.console.console
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.console.console\_call module cpl_core.console.console\_call
-------------------------------------- --------------------------------
.. automodule:: cpl_core.console.console_call .. automodule:: cpl_core.console.console_call
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.console.foreground\_color\_enum module cpl_core.console.foreground\_color\_enum
------------------------------------------------ ------------------------------------------
.. automodule:: cpl_core.console.foreground_color_enum .. automodule:: cpl_core.console.foreground_color_enum
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.console.spinner\_thread module cpl_core.console.spinner\_thread
---------------------------------------- ----------------------------------
.. automodule:: cpl_core.console.spinner_thread .. automodule:: cpl_core.console.spinner_thread
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
Module contents
---------------
.. automodule:: cpl_core.console
:members:
:undoc-members:
:show-inheritance:

View File

@ -1,29 +1,18 @@
cpl\_core.database.connection package cpl_core.database.connection
===================================== ===============================
Submodules cpl_core.database.connection.database\_connection
---------- ---------------------------------------------------
cpl\_core.database.connection.database\_connection module
---------------------------------------------------------
.. automodule:: cpl_core.database.connection.database_connection .. automodule:: cpl_core.database.connection.database_connection
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.database.connection.database\_connection\_abc module cpl_core.database.connection.database\_connection\_abc
-------------------------------------------------------------- --------------------------------------------------------
.. automodule:: cpl_core.database.connection.database_connection_abc .. automodule:: cpl_core.database.connection.database_connection_abc
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
Module contents
---------------
.. automodule:: cpl_core.database.connection
:members:
:undoc-members:
:show-inheritance:

View File

@ -1,29 +1,18 @@
cpl\_core.database.context package cpl_core.database.context
================================== ============================
Submodules cpl_core.database.context.database\_context
---------- ---------------------------------------------
cpl\_core.database.context.database\_context module
---------------------------------------------------
.. automodule:: cpl_core.database.context.database_context .. automodule:: cpl_core.database.context.database_context
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.database.context.database\_context\_abc module cpl_core.database.context.database\_context\_abc
-------------------------------------------------------- --------------------------------------------------
.. automodule:: cpl_core.database.context.database_context_abc .. automodule:: cpl_core.database.context.database_context_abc
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
Module contents
---------------
.. automodule:: cpl_core.database.context
:members:
:undoc-members:
:show-inheritance:

View File

@ -1,8 +1,5 @@
cpl\_core.database package cpl_core.database
========================== ====================
Subpackages
-----------
.. toctree:: .. toctree::
:maxdepth: 4 :maxdepth: 4
@ -10,37 +7,28 @@ Subpackages
cpl_core.database.connection cpl_core.database.connection
cpl_core.database.context cpl_core.database.context
Submodules
----------
cpl\_core.database.database\_settings module
-------------------------------------------- cpl_core.database.database\_model
-----------------------------------
.. automodule:: cpl_core.database.database_model
:members:
:undoc-members:
:show-inheritance:
cpl_core.database.database\_settings
--------------------------------------
.. automodule:: cpl_core.database.database_settings .. automodule:: cpl_core.database.database_settings
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.database.database\_settings\_name\_enum module cpl_core.database.database\_settings\_name\_enum
-------------------------------------------------------- --------------------------------------------------
.. automodule:: cpl_core.database.database_settings_name_enum .. automodule:: cpl_core.database.database_settings_name_enum
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
cpl\_core.database.table\_abc module
------------------------------------
.. automodule:: cpl_core.database.table_abc
:members:
:undoc-members:
:show-inheritance:
Module contents
---------------
.. automodule:: cpl_core.database
:members:
:undoc-members:
:show-inheritance:

Some files were not shown because too many files have changed in this diff Show More