Compare commits
203 Commits
2022.6.0
...
43710717c9
Author | SHA1 | Date | |
---|---|---|---|
43710717c9 | |||
7bf5e25c5e | |||
faa030df96 | |||
8179508248 | |||
2c3664c1b9 | |||
269f083662 | |||
8b40c65661 | |||
7be3cf38dc | |||
b18a7297a7 | |||
7f46fbe87a | |||
e0ca7c2ae6 | |||
6389a940bc | |||
48d0daabf5 | |||
8fc3c04720 | |||
351f953fdb | |||
e1560dfab5 | |||
c9bc6a026a | |||
83f0e8bd42 | |||
7af83b49a5 | |||
59263ece6e | |||
a507ed9f46 | |||
6b451142e2 | |||
12beea05a7 | |||
713fa5243c | |||
d600852bec | |||
c09f2f8e83 | |||
2fb515195c | |||
889f51f5c5 | |||
742ba8314a | |||
b95d90a191 | |||
46fa49a102 | |||
d5e89d6e2a | |||
086fc75fec | |||
05c33990bb | |||
cbae40ef4d | |||
002ba6b4e0 | |||
85f75b4677 | |||
95d8df5bea | |||
ac1cd9bdde | |||
2d9bb79af7 | |||
120c9e6800 | |||
6f3099a8db | |||
e46711dc54 | |||
59920c59e0 | |||
604bb8f55c | |||
2f8dc63cdc | |||
4fbb3ec838 | |||
6818fe9a5c | |||
3854fa5aa6 | |||
1ca459e67a | |||
fe8ffb2839 | |||
42fb88c35d | |||
db7a0786a9 | |||
f9f2612356 | |||
df81bb599f | |||
6d2492c1cf | |||
e244535557 | |||
5f10603fe5 | |||
6b8491eea2 | |||
b63bf41294 | |||
f6cc3a7ddf | |||
d1c93abe2c | |||
d6e3b37f7f | |||
9840779af4 | |||
b893ec1fcf | |||
d5e5bfe69d | |||
4afe5c4581 | |||
e054ac364e | |||
68e01afb5b | |||
2e0a8bb1ff | |||
b02aebef35 | |||
099a51ed93 | |||
e4aedb354b | |||
301768b842 | |||
856960d799 | |||
d0877a4ea6 | |||
3c20ab296a | |||
4dc7ee3314 | |||
05bd5e8593 | |||
2fe3912a07 | |||
2840628443 | |||
f0f79e7e3b | |||
e8ae635c88 | |||
d8f7e03815 | |||
ba1b5e49ae | |||
703a2c91b5 | |||
4a54bb62de | |||
9e84c8359b | |||
5139876d90 | |||
6aef49de40 | |||
186b336bf3 | |||
1bbec27d1a | |||
f0a8d69e22 | |||
8bd237206c | |||
6bf7c3a2bc | |||
2e8be741cc | |||
abd0352750 | |||
25d91b85f3 | |||
f08eb42105 | |||
f450102c93 | |||
db28645e98 | |||
23efb776e7 | |||
7f621b282f | |||
5dc7fce1e7 | |||
879f59b0d5 | |||
511622820a | |||
0914f969e5 | |||
c611045290 | |||
89ac9e90d6 | |||
ae2a98b3bc | |||
bd242baa0a | |||
8e4caeb2a8 | |||
3b55b3d5a5 | |||
cc3b1afaa1 | |||
a22b6fdbdb | |||
e3041c4b5b | |||
8ad6d50a04 | |||
4db000f6d7 | |||
3821624c3b | |||
60a722b4ec | |||
65132aa107 | |||
48eac124a5 | |||
be23b18d33 | |||
748cc66946 | |||
304b2e4255 | |||
9fa183f143 | |||
82df528395 | |||
49e3bddc91 | |||
c52bf961e1 | |||
df3f9f0306 | |||
ef2d73aadc | |||
1ed721cccb | |||
a724216563 | |||
2bcf4d7a97 | |||
2dfa2dd68f | |||
e94ed0b7f0 | |||
c7e2f8609c | |||
9d2321cc9c | |||
61d9912950 | |||
f23d32a92a | |||
dc489cbf7a | |||
41d24aae99 | |||
6b50bba139 | |||
139422fd32 | |||
409e11df42 | |||
f3a11f9791 | |||
8dcc5b4011 | |||
d0f65834f1 | |||
47ed0a705d | |||
ae3192b63c | |||
bb461f5fba | |||
52069b7bb3 | |||
f0ed0bd2e1 | |||
e868a120f0 | |||
70652aeb4c | |||
28adcc4e49 | |||
affbb1ee7b | |||
d8a4210c9b | |||
b16d555e33 | |||
4380142ccd | |||
91f2d6cb21 | |||
249b071ee9 | |||
53fe437100 | |||
fc63f3616e | |||
a528511732 | |||
dbe1d37046 | |||
988965ed52 | |||
3c5ca594d5 | |||
452b30c899 | |||
85c5b26fdf | |||
92ed684866 | |||
88e83db330 | |||
55609fc691 | |||
e0d89f967f | |||
b2ce8a6924 | |||
71efbd1b42 | |||
e36939a108 | |||
721461fc1b | |||
72ee59b2b4 | |||
95159da0fc | |||
330d702347 | |||
cbf669d3bd | |||
7498fe3255 | |||
880998e8ca | |||
ecc9657eaa | |||
125f65cf1b | |||
1cd9c7d669 | |||
5165f31066 | |||
10d33e5d1d | |||
fb35e8b8b2 | |||
4402bcce73 | |||
8839b26f00 | |||
a79358725c | |||
2ab1576230 | |||
c0be380f69 | |||
c0ae0c8389 | |||
4a766e8284 | |||
2772ea8df2 | |||
a604f0e821 | |||
6995b25518 | |||
e4f843829f | |||
39b6ca790c | |||
4c8d7a8031 |
307
.vscode/launch.json
vendored
307
.vscode/launch.json
vendored
@@ -1,307 +0,0 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Python: Aktuelle Datei",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"program": "${file}",
|
||||
"console": "integratedTerminal"
|
||||
},
|
||||
{
|
||||
"name": "CPL: main test",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}/cpl_core/src/tests/custom/general/src/general",
|
||||
"program": "main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"--customer=sh-edraft.de"
|
||||
],
|
||||
"env": {
|
||||
"CPL_NAME": "CPL_Dev_Test",
|
||||
"PYTHON_ENVIRONMENT": "development"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CPL: console test",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}/src/tests/custom/console",
|
||||
"program": "main.py",
|
||||
"console": "integratedTerminal",
|
||||
},
|
||||
{
|
||||
"name": "CPL: database test",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}/src/tests/custom/database/src",
|
||||
"program": "main.py",
|
||||
"console": "integratedTerminal",
|
||||
"env": {
|
||||
"PYTHON_ENVIRONMENT": "development",
|
||||
"PYTHONPATH": "${workspaceFolder}/src/:$PYTHONPATH"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CLI",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}/",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": []
|
||||
},
|
||||
{
|
||||
"name": "CLI: add",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}/src/tests/custom/general",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"add",
|
||||
"testing",
|
||||
"general",
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: remove",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}/src/tests/custom/general",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"remove",
|
||||
"testing",
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: build",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"build"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: generate abc",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"generate",
|
||||
"a",
|
||||
"testName"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: generate class",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"generate",
|
||||
"c",
|
||||
"src/hfs/fsnfiu/fiush/fisbf/testName"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: generate enum",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"generate",
|
||||
"e",
|
||||
"testName"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: generate service",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"generate",
|
||||
"s",
|
||||
"testName"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: generate settings",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"generate",
|
||||
"st",
|
||||
"testName"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: generate thread",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"generate",
|
||||
"t",
|
||||
"testName"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: hello-world",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"hello-world",
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: help",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"help",
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: install discord.py",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}/src/tests/custom/general",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"install",
|
||||
"discord.py",
|
||||
],
|
||||
"env": {
|
||||
"GISMO_ENVIRONMENT": "development",
|
||||
"PYTHONPATH": "${workspaceFolder}/src/:$PYTHONPATH"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CLI: install local",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}/src/tests/custom/general",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"install",
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: new console",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"new",
|
||||
"console",
|
||||
"HelloWorld"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: new library",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"new",
|
||||
"library",
|
||||
"HelloWorldLib"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: publish",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"publish",
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: start",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"start",
|
||||
],
|
||||
"env": {
|
||||
"PYTHONPATH": "${workspaceFolder}/src/:${workspaceFolder}/src/cpl_cli/"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CLI: uninstall discord.py",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}/src/tests/custom/general",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"uninstall",
|
||||
"discord.py",
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: start",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}/src/tests/custom/general",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"update",
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CLI: version",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/cpl_cli/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"version",
|
||||
]
|
||||
},
|
||||
]
|
||||
}
|
23
.vscode/settings.json
vendored
23
.vscode/settings.json
vendored
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"workbench.colorCustomizations": {
|
||||
"activityBar.activeBackground": "#93e6fc",
|
||||
"activityBar.activeBorder": "#fa45d4",
|
||||
"activityBar.background": "#93e6fc",
|
||||
"activityBar.foreground": "#15202b",
|
||||
"activityBar.inactiveForeground": "#15202b99",
|
||||
"activityBarBadge.background": "#fa45d4",
|
||||
"activityBarBadge.foreground": "#15202b",
|
||||
"sash.hoverBorder": "#93e6fc",
|
||||
"statusBar.background": "#61dafb",
|
||||
"statusBar.foreground": "#15202b",
|
||||
"statusBarItem.hoverBackground": "#2fcefa",
|
||||
"statusBarItem.remoteBackground": "#61dafb",
|
||||
"statusBarItem.remoteForeground": "#15202b",
|
||||
"titleBar.activeBackground": "#61dafb",
|
||||
"titleBar.activeForeground": "#15202b",
|
||||
"titleBar.inactiveBackground": "#61dafb99",
|
||||
"titleBar.inactiveForeground": "#15202b99"
|
||||
},
|
||||
"peacock.color": "#61dafb",
|
||||
"python.pythonPath": "cpl-env/bin/python3.9",
|
||||
}
|
2
LICENSE
2
LICENSE
@@ -1,4 +1,4 @@
|
||||
MIT License Copyright (c) 2020 - 2022 sh-edraft.de
|
||||
MIT License Copyright (c) 2020 - 2023 sh-edraft.de
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
16
README.md
16
README.md
@@ -87,17 +87,17 @@
|
||||
|
||||
Install the CPL package
|
||||
```sh
|
||||
pip install sh_cpl --extra-index-url https://pip.sh-edraft.de
|
||||
pip install cpl --extra-index-url https://pip.sh-edraft.de
|
||||
```
|
||||
|
||||
Install the CPL CLI
|
||||
```sh
|
||||
pip install sh_cpl-cli --extra-index-url https://pip.sh-edraft.de
|
||||
pip install cpl-cli --extra-index-url https://pip.sh-edraft.de
|
||||
```
|
||||
|
||||
Create workspace:
|
||||
```sh
|
||||
cpl new <console|library> <PROJECT NAME>
|
||||
cpl new <console|library|unittest> <PROJECT NAME>
|
||||
```
|
||||
|
||||
Run the application:
|
||||
@@ -110,7 +110,7 @@ cpl start
|
||||
<!-- ROADMAP -->
|
||||
## Roadmap
|
||||
|
||||
See the [open issues](https://git.sh-edraft.de/sh-edraft.de/sh_common_py_lib/issues) for a list of proposed features (and known issues).
|
||||
See the [open issues](https://git.sh-edraft.de/sh-edraft.de/sh_cpl/issues) for a list of proposed features (and known issues).
|
||||
|
||||
|
||||
|
||||
@@ -139,7 +139,7 @@ Distributed under the MIT License. See [LICENSE] for more information.
|
||||
|
||||
Sven Heidemann - sven.heidemann@sh-edraft.de
|
||||
|
||||
Project link: [https://git.sh-edraft.de/sh-edraft.de/sh_common_py_lib](https://git.sh-edraft.de/sh-edraft.de/sh_common_py_lib)
|
||||
Project link: [https://git.sh-edraft.de/sh-edraft.de/sh_common_py_lib](https://git.sh-edraft.de/sh-edraft.de/sh_cpl)
|
||||
|
||||
<!-- External LINKS -->
|
||||
[pip_url]: https://pip.sh-edraft.de
|
||||
@@ -147,7 +147,7 @@ Project link: [https://git.sh-edraft.de/sh-edraft.de/sh_common_py_lib](https://g
|
||||
[pip]: https://pypi.org/project/pip/
|
||||
|
||||
<!-- Internal LINKS -->
|
||||
[project]: https://git.sh-edraft.de/sh-edraft.de/sh_common_py_lib
|
||||
[quickstart]: https://git.sh-edraft.de/sh-edraft.de/sh_common_py_lib/wiki/quickstart
|
||||
[contributing]: https://git.sh-edraft.de/sh-edraft.de/sh_common_py_lib/wiki/contributing
|
||||
[project]: https://git.sh-edraft.de/sh-edraft.de/sh_cpl
|
||||
[quickstart]: https://git.sh-edraft.de/sh-edraft.de/sh_cpl/wiki/quickstart
|
||||
[contributing]: https://git.sh-edraft.de/sh-edraft.de/sh_cpl/wiki/contributing
|
||||
[license]: LICENSE
|
||||
|
@@ -2,94 +2,148 @@
|
||||
"WorkspaceSettings": {
|
||||
"DefaultProject": "cpl-cli",
|
||||
"Projects": {
|
||||
"cpl-core": "src/cpl_core/cpl-core.json",
|
||||
"cpl-cli": "src/cpl_cli/cpl-cli.json",
|
||||
"cpl-core": "src/cpl_core/cpl-core.json",
|
||||
"cpl-discord": "src/cpl_discord/cpl-discord.json",
|
||||
"cpl-query": "src/cpl_query/cpl-query.json",
|
||||
"cpl-translation": "src/cpl_translation/cpl-translation.json",
|
||||
"set-version": "tools/set_version/set-version.json",
|
||||
"set-pip-urls": "tools/set_pip_urls/set-pip-urls.json",
|
||||
"unittests": "unittests/unittests/unittests.json",
|
||||
"unittests_cli": "unittests/unittests_cli/unittests_cli.json",
|
||||
"unittests_core": "unittests/unittests_core/unittests_core.json",
|
||||
"unittests_query": "unittests/unittests_query/unittests_query.json",
|
||||
"unittests_shared": "unittests/unittests_shared/unittests_shared.json"
|
||||
"unittests_shared": "unittests/unittests_shared/unittests_shared.json",
|
||||
"unittests_translation": "unittests/unittests_translation/unittests_translation.json"
|
||||
},
|
||||
"Scripts": {
|
||||
"hello-world": "echo 'Hello World'",
|
||||
|
||||
"sv": "cpl set-version",
|
||||
"set-version": "cpl run set-version $ARGS; echo '';",
|
||||
"set-version": "cpl run set-version --dev $ARGS; echo '';",
|
||||
|
||||
"spu": "cpl set-pip-urls",
|
||||
"set-pip-urls": "cpl run set-pip-urls $ARGS; echo '';",
|
||||
"set-pip-urls": "cpl run set-pip-urls --dev $ARGS; echo '';",
|
||||
|
||||
"docs-build": "echo 'Build Documentation'; cd docs/; sphinx-apidoc -o source/ ../src/cpl_core; sphinx-apidoc -o source/ ../src/cpl_query; make clean; make html; rm source/cpl_query.tests.rst;",
|
||||
"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-discord": "cd docs/; sphinx-apidoc -o source/ ../src/cpl_discord; cd ../",
|
||||
"db-query": "cd docs/; sphinx-apidoc -o source/ ../src/cpl_query; cd ../",
|
||||
"db-translation": "cd docs/; sphinx-apidoc -o source/ ../src/cpl_translation; cd ../",
|
||||
"db": "cpl docs-build",
|
||||
|
||||
"docs-open": "xdg-open $PWD/docs/build/html/index.html &",
|
||||
"do": "cpl docs-open",
|
||||
|
||||
"test": "cpl run unittests",
|
||||
|
||||
"pre-build-all": "cpl sv $ARGS; cpl spu $ARGS;",
|
||||
"build-all": "cpl build-cli; cpl build-core; cpl build-query; cpl build-set-pip-urls; cpl build-set-version",
|
||||
"build-all": "cpl build-cli; cpl build-core; cpl build-discord; cpl build-query; cpl build-translation; cpl build-set-pip-urls; cpl build-set-version",
|
||||
"ba": "cpl build-all $ARGS",
|
||||
"build-cli": "echo 'Build cpl-cli'; cd ./src/cpl_cli; cpl build; cd ../../;",
|
||||
"build-core": "echo 'Build cpl-core'; cd ./src/cpl_core; cpl build; cd ../../;",
|
||||
"build-discord": "echo 'Build cpl-discord'; cd ./src/cpl_discord; cpl build; cd ../../;",
|
||||
"build-query": "echo 'Build cpl-query'; cd ./src/cpl_query; cpl build; cd ../../;",
|
||||
"build-translation": "echo 'Build cpl-translation'; cd ./src/cpl_translation; cpl build; cd ../../;",
|
||||
"build-set-pip-urls": "echo 'Build set-pip-urls'; cd ./tools/set_pip_urls; cpl build; cd ../../;",
|
||||
"build-set-version": "echo 'Build set-version'; cd ./tools/set_version; cpl build; cd ../../;",
|
||||
|
||||
"pre-publish-all": "cpl sv $ARGS; cpl spu $ARGS;",
|
||||
"publish-all": "cpl publish-cli; cpl publish-core; cpl publish-query;",
|
||||
"pa": "cpl build-all $ARGS",
|
||||
"publish-all": "cpl publish-cli; cpl publish-core; cpl publish-discord; cpl publish-query; cpl publish-translation;",
|
||||
"pa": "cpl publish-all $ARGS",
|
||||
"publish-cli": "echo 'Publish cpl-cli'; cd ./src/cpl_cli; cpl publish; cd ../../;",
|
||||
"publish-core": "echo 'Publish cpl-core'; cd ./src/cpl_core; cpl publish; cd ../../;",
|
||||
"publish-query": "echo 'Publish cpl_query'; cd ./src/cpl_query; cpl publish; cd ../../;",
|
||||
"publish-discord": "echo 'Publish cpl-discord'; cd ./src/cpl_discord; cpl publish; cd ../../;",
|
||||
"publish-query": "echo 'Publish cpl-query'; cd ./src/cpl_query; cpl publish; cd ../../;",
|
||||
"publish-translation": "echo 'Publish cpl-translation'; cd ./src/cpl_translation; cpl publish; cd ../../;",
|
||||
|
||||
"upload-prod-cli": "echo 'PROD Upload cpl-cli'; cpl upl-prod-cli;",
|
||||
"upl-prod-cli": "twine upload -r pip.sh-edraft.de dist/cpl-cli/publish/setup/*",
|
||||
|
||||
"upload-prod-core": "echo 'PROD Upload cpl-core'; cpl upl-prod-core;",
|
||||
"upl-prod-core": "twine upload -r pip.sh-edraft.de dist/cpl-core/publish/setup/*",
|
||||
"upload-prod-query": "echo 'PROD Upload cpl_query'; cpl upl-prod-query;",
|
||||
|
||||
"upload-prod-discord": "echo 'PROD Upload cpl-discord'; cpl upl-prod-discord;",
|
||||
"upl-prod-discord": "twine upload -r pip.sh-edraft.de dist/cpl-discord/publish/setup/*",
|
||||
|
||||
"upload-prod-query": "echo 'PROD Upload cpl-query'; cpl upl-prod-query;",
|
||||
"upl-prod-query": "twine upload -r pip.sh-edraft.de dist/cpl-query/publish/setup/*",
|
||||
|
||||
"upload-prod-translation": "echo 'PROD Upload cpl-translation'; cpl upl-prod-translation;",
|
||||
"upl-prod-translation": "twine upload -r pip.sh-edraft.de dist/cpl-translation/publish/setup/*",
|
||||
|
||||
"upload-exp-cli": "echo 'EXP Upload cpl-cli'; cpl upl-exp-cli;",
|
||||
"upl-exp-cli": "twine upload -r pip-exp.sh-edraft.de dist/cpl-cli/publish/setup/*",
|
||||
|
||||
"upload-exp-core": "echo 'EXP Upload cpl-core'; cpl upl-exp-core;",
|
||||
"upl-exp-core": "twine upload -r pip-exp.sh-edraft.de dist/cpl-core/publish/setup/*",
|
||||
"upload-exp-query": "echo 'EXP Upload cpl_query'; cpl upl-exp-query;",
|
||||
|
||||
"upload-exp-discord": "echo 'EXP Upload cpl-discord'; cpl upl-exp-discord;",
|
||||
"upl-exp-discord": "twine upload -r pip-exp.sh-edraft.de dist/cpl-discord/publish/setup/*",
|
||||
|
||||
"upload-exp-query": "echo 'EXP Upload cpl-query'; cpl upl-exp-query;",
|
||||
"upl-exp-query": "twine upload -r pip-exp.sh-edraft.de dist/cpl-query/publish/setup/*",
|
||||
|
||||
"upload-exp-translation": "echo 'EXP Upload cpl-translation'; cpl upl-exp-translation;",
|
||||
"upl-exp-translation": "twine upload -r pip-exp.sh-edraft.de dist/cpl-translation/publish/setup/*",
|
||||
|
||||
"upload-dev-cli": "echo 'DEV Upload cpl-cli'; cpl upl-dev-cli;",
|
||||
"upl-dev-cli": "twine upload -r pip-dev.sh-edraft.de dist/cpl-cli/publish/setup/*",
|
||||
|
||||
"upload-dev-core": "echo 'DEV Upload cpl-core'; cpl upl-dev-core;",
|
||||
"upl-dev-core": "twine upload -r pip-dev.sh-edraft.de dist/cpl-core/publish/setup/*",
|
||||
"upload-dev-query": "echo 'DEV Upload cpl_query'; cpl upl-dev-query;",
|
||||
|
||||
"upload-dev-discord": "echo 'DEV Upload cpl-discord'; cpl upl-dev-discord;",
|
||||
"upl-dev-discord": "twine upload -r pip-dev.sh-edraft.de dist/cpl-discord/publish/setup/*",
|
||||
|
||||
"upload-dev-query": "echo 'DEV Upload cpl-query'; cpl upl-dev-query;",
|
||||
"upl-dev-query": "twine upload -r pip-dev.sh-edraft.de dist/cpl-query/publish/setup/*",
|
||||
|
||||
"upload-dev-translation": "echo 'DEV Upload cpl-translation'; cpl upl-dev-translation;",
|
||||
"upl-dev-translation": "twine upload -r pip-dev.sh-edraft.de dist/cpl-translation/publish/setup/*",
|
||||
|
||||
"pre-deploy-prod": "cpl sv $ARGS; cpl spu --environment=production;",
|
||||
"deploy-prod": "cpl deploy-prod-cli; cpl deploy-prod-core; cpl deploy-prod-query;",
|
||||
"deploy-prod": "cpl deploy-prod-cli; cpl deploy-prod-core; cpl deploy-prod-discord; cpl deploy-prod-query; cpl deploy-prod-translation;",
|
||||
"dp": "cpl deploy-prod $ARGS",
|
||||
"deploy-prod-cli": "cpl publish-cli; cpl upload-prod-cli",
|
||||
"deploy-prod-core": "cpl publish-core; cpl upload-prod-core",
|
||||
"deploy-prod-query": "cpl publish-query; cpl upload-prod-query",
|
||||
"deploy-prod-discord": "cpl publish-discord; cpl upload-prod-discord",
|
||||
"deploy-prod-translation": "cpl publish-translation; cpl upload-prod-translation",
|
||||
|
||||
"pre-deploy-exp": "cpl sv $ARGS; cpl spu --environment=staging;",
|
||||
"deploy-exp": "cpl deploy-exp-cli; cpl deploy-exp-core; cpl deploy-exp-query;",
|
||||
"deploy-exp": "cpl deploy-exp-cli; cpl deploy-exp-core; cpl deploy-exp-discord; cpl deploy-exp-query; cpl deploy-exp-translation;",
|
||||
"de": "cpl deploy-exp $ARGS",
|
||||
"deploy-exp-cli": "cpl publish-cli; cpl upload-exp-cli",
|
||||
"deploy-exp-core": "cpl publish-core; cpl upload-exp-core",
|
||||
"deploy-exp-discord": "cpl publish-discord; cpl upload-exp-discord",
|
||||
"deploy-exp-query": "cpl publish-query; cpl upload-exp-query",
|
||||
"deploy-exp-translation": "cpl publish-translation; cpl upload-exp-translation",
|
||||
|
||||
"pre-deploy-dev": "cpl sv $ARGS; cpl spu --environment=development;",
|
||||
"deploy-dev": "cpl deploy-dev-cli; cpl deploy-dev-core; cpl deploy-dev-query;",
|
||||
"deploy-dev": "cpl deploy-dev-cli; cpl deploy-dev-core; cpl deploy-dev-discord; cpl deploy-dev-query; cpl deploy-dev-translation;",
|
||||
"dd": "cpl deploy-dev $ARGS",
|
||||
"deploy-dev-cli": "cpl publish-cli; cpl upload-dev-cli",
|
||||
"deploy-dev-core": "cpl publish-core; cpl upload-dev-core",
|
||||
"deploy-dev-discord": "cpl publish-discord; cpl upload-dev-discord",
|
||||
"deploy-dev-query": "cpl publish-query; cpl upload-dev-query",
|
||||
"deploy-dev-translation": "cpl publish-query; cpl upload-dev-translation",
|
||||
|
||||
"dev-install": "cpl di-core; cpl di-cli; cpl di-query;",
|
||||
"dev-install": "cpl di-core; cpl di-cli; cpl di-query; cpl di-translation;",
|
||||
"di": "cpl dev-install",
|
||||
"di-core": "pip install cpl-core --pre --upgrade --extra-index-url https://pip-dev.sh-edraft.de",
|
||||
"di-cli": "pip install cpl-cli --pre --upgrade --extra-index-url https://pip-dev.sh-edraft.de",
|
||||
"di-query": "pip install cpl-query --pre --upgrade --extra-index-url https://pip-dev.sh-edraft.de"
|
||||
"di-discord": "pip install cpl-discord --pre --upgrade --extra-index-url https://pip-dev.sh-edraft.de",
|
||||
"di-query": "pip install cpl-query --pre --upgrade --extra-index-url https://pip-dev.sh-edraft.de",
|
||||
"di-translation": "pip install cpl-translation --pre --upgrade --extra-index-url https://pip-dev.sh-edraft.de",
|
||||
|
||||
"prod-install": "cpl pi-core; cpl pi-cli; cpl pi-query; cpl pi-translation;",
|
||||
"pi": "cpl prod-install",
|
||||
"pi-core": "pip install cpl-core --pre --upgrade --extra-index-url https://pip.sh-edraft.de",
|
||||
"pi-cli": "pip install cpl-cli --pre --upgrade --extra-index-url https://pip.sh-edraft.de",
|
||||
"pi-discord": "pip install cpl-discord --pre --upgrade --extra-index-url https://pip.sh-edraft.de",
|
||||
"pi-query": "pip install cpl-query --pre --upgrade --extra-index-url https://pip.sh-edraft.de",
|
||||
"pi-translation": "pip install cpl-translation --pre --upgrade --extra-index-url https://pip.sh-edraft.de"
|
||||
}
|
||||
}
|
||||
}
|
BIN
docs/build/doctrees/cli.add.doctree
vendored
BIN
docs/build/doctrees/cli.add.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/cli.generate.doctree
vendored
BIN
docs/build/doctrees/cli.generate.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/cli.help.doctree
vendored
BIN
docs/build/doctrees/cli.help.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/cli.new.doctree
vendored
BIN
docs/build/doctrees/cli.new.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/cli.run.doctree
vendored
Normal file
BIN
docs/build/doctrees/cli.run.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/cli.start.doctree
vendored
BIN
docs/build/doctrees/cli.start.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/contributing.doctree
vendored
BIN
docs/build/doctrees/contributing.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/cpl_cli.doctree
vendored
BIN
docs/build/doctrees/cpl_cli.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/cpl_core.application.doctree
vendored
BIN
docs/build/doctrees/cpl_core.application.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/cpl_core.configuration.doctree
vendored
BIN
docs/build/doctrees/cpl_core.configuration.doctree
vendored
Binary file not shown.
Binary file not shown.
BIN
docs/build/doctrees/cpl_core.database.doctree
vendored
BIN
docs/build/doctrees/cpl_core.database.doctree
vendored
Binary file not shown.
Binary file not shown.
BIN
docs/build/doctrees/cpl_core.doctree
vendored
BIN
docs/build/doctrees/cpl_core.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/cpl_core.pipes.doctree
vendored
BIN
docs/build/doctrees/cpl_core.pipes.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/cpl_discord.application.doctree
vendored
Normal file
BIN
docs/build/doctrees/cpl_discord.application.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/cpl_discord.command.doctree
vendored
Normal file
BIN
docs/build/doctrees/cpl_discord.command.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/cpl_discord.configuration.doctree
vendored
Normal file
BIN
docs/build/doctrees/cpl_discord.configuration.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/cpl_discord.container.doctree
vendored
Normal file
BIN
docs/build/doctrees/cpl_discord.container.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/cpl_discord.doctree
vendored
Normal file
BIN
docs/build/doctrees/cpl_discord.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/cpl_discord.events.doctree
vendored
Normal file
BIN
docs/build/doctrees/cpl_discord.events.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/cpl_discord.helper.doctree
vendored
Normal file
BIN
docs/build/doctrees/cpl_discord.helper.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/cpl_discord.service.doctree
vendored
Normal file
BIN
docs/build/doctrees/cpl_discord.service.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/cpl_query.base.doctree
vendored
Normal file
BIN
docs/build/doctrees/cpl_query.base.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/cpl_query.doctree
vendored
BIN
docs/build/doctrees/cpl_query.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/cpl_query.enumerable.doctree
vendored
Normal file
BIN
docs/build/doctrees/cpl_query.enumerable.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/cpl_query.exceptions.doctree
vendored
BIN
docs/build/doctrees/cpl_query.exceptions.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/cpl_query.extension.doctree
vendored
BIN
docs/build/doctrees/cpl_query.extension.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/cpl_query.iterable.doctree
vendored
Normal file
BIN
docs/build/doctrees/cpl_query.iterable.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/cpl_translation.doctree
vendored
Normal file
BIN
docs/build/doctrees/cpl_translation.doctree
vendored
Normal file
Binary file not shown.
BIN
docs/build/doctrees/environment.pickle
vendored
BIN
docs/build/doctrees/environment.pickle
vendored
Binary file not shown.
BIN
docs/build/doctrees/index.doctree
vendored
BIN
docs/build/doctrees/index.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/modules.doctree
vendored
BIN
docs/build/doctrees/modules.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/setup.doctree
vendored
BIN
docs/build/doctrees/setup.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/tutorials.appsettings.doctree
vendored
BIN
docs/build/doctrees/tutorials.appsettings.doctree
vendored
Binary file not shown.
Binary file not shown.
BIN
docs/build/doctrees/tutorials.console.doctree
vendored
BIN
docs/build/doctrees/tutorials.console.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/tutorials.create-startup.doctree
vendored
BIN
docs/build/doctrees/tutorials.create-startup.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/tutorials.doctree
vendored
BIN
docs/build/doctrees/tutorials.doctree
vendored
Binary file not shown.
Binary file not shown.
BIN
docs/build/doctrees/tutorials.extend-startup.doctree
vendored
BIN
docs/build/doctrees/tutorials.extend-startup.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/tutorials.logging.doctree
vendored
BIN
docs/build/doctrees/tutorials.logging.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/tutorials.mail.doctree
vendored
BIN
docs/build/doctrees/tutorials.mail.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/tutorials.templating.doctree
vendored
Normal file
BIN
docs/build/doctrees/tutorials.templating.doctree
vendored
Normal file
Binary file not shown.
2
docs/build/html/.buildinfo
vendored
2
docs/build/html/.buildinfo
vendored
@@ -1,4 +1,4 @@
|
||||
# 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.
|
||||
config: 9ea51a00cf3559575c97b7efd7a002e5
|
||||
config: 7051b788adc6d655ae340e56640c6925
|
||||
tags: 645f666f9bcd5a90fca523b33c5a78b7
|
||||
|
1
docs/build/html/_sources/cli.add.md.txt
vendored
1
docs/build/html/_sources/cli.add.md.txt
vendored
@@ -4,6 +4,7 @@
|
||||
|
||||
- [Description](#description)
|
||||
- [Arguments](#arguments)
|
||||
- [Flags](#flags)
|
||||
|
||||
Removes a project from workspace.
|
||||
|
||||
|
9
docs/build/html/_sources/cli.generate.md.txt
vendored
9
docs/build/html/_sources/cli.generate.md.txt
vendored
@@ -16,17 +16,20 @@ cpl **G** *<schematic>* *<name>*
|
||||
|
||||
Generates files based on a schematic.
|
||||
|
||||
You can define custom schematics by creating templates in a ```.cpl``` folder.
|
||||
|
||||
## Arguments
|
||||
|
||||
| Argument | Description | Value type |
|
||||
| ----------------- |:---------------------------------:|:-------------:|
|
||||
|-------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------:|
|
||||
| ```<schematic>``` | The schematic to generate. | ```str``` |
|
||||
| ```<name>``` | The name of the generated file. | ```str``` |
|
||||
| ```--base``` | First element of path will be used as base-path not 'src'. For example: 'cpl g c test/Test' will be created at ```src/test/``` with --base it would be ```test/``` | ```str``` |
|
||||
|
||||
## Schematics
|
||||
|
||||
| Schematic | Description | Arguments |
|
||||
|-----------------|:-------------------------------------:|:------------:|
|
||||
|-----------------|:--------------------------------------:|:------------:|
|
||||
| ```abc``` | Abstract base class | ```<name>``` |
|
||||
| ```class``` | Class | ```<name>``` |
|
||||
| ```enum``` | Enum class | ```<name>``` |
|
||||
@@ -36,3 +39,5 @@ Generates files based on a schematic.
|
||||
| ```test``` | Test class | ```<name>``` |
|
||||
| ```thread``` | Thread class | ```<name>``` |
|
||||
| ```validator``` | Validator class | ```<name>``` |
|
||||
| ```command``` | Discord bot command class | ```<name>``` |
|
||||
| ```event``` | Discord bot event class | ```<name>``` |
|
||||
|
6
docs/build/html/_sources/cli.help.md.txt
vendored
6
docs/build/html/_sources/cli.help.md.txt
vendored
@@ -1,9 +1,9 @@
|
||||
# cpl help
|
||||
|
||||
<!-- ## Contents
|
||||
## Contents
|
||||
|
||||
- [Description](#description) -->
|
||||
<!-- - [Arguments](#arguments) -->
|
||||
- [Description](#description)
|
||||
- [Arguments](#arguments)
|
||||
|
||||
Lists available command and their short descriptions.
|
||||
|
||||
|
5
docs/build/html/_sources/cli.new.md.txt
vendored
5
docs/build/html/_sources/cli.new.md.txt
vendored
@@ -16,12 +16,15 @@ cpl **N** *<type>* *<name>*
|
||||
|
||||
Generates a workspace and initial project or add a project to workspace.
|
||||
|
||||
You can define custom project types by creating templates in a ```.cpl``` folder.
|
||||
|
||||
If the command is running in a CPL workspace, it will add the new project to the workspace.
|
||||
|
||||
| Argument | Description | Value type |
|
||||
|--------------|:----------------------------------------------------:|:----------:|
|
||||
|--------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:----------:|
|
||||
| ```<type>``` | The type of the project, see [types](#project-types) | ```str``` |
|
||||
| ```<name>``` | The name of the project | ```str``` |
|
||||
| ```--base``` | First element of path will be used as base-path not 'src'. For example: 'cpl g c test/Test' will be created at ```src/test/``` with --base it would be ```test/``` | ```str``` |
|
||||
|
||||
## Project types
|
||||
|
||||
|
12
docs/build/html/_sources/cli.run.md.txt
vendored
Normal file
12
docs/build/html/_sources/cli.run.md.txt
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# cpl run
|
||||
|
||||
Starts your application once.
|
||||
|
||||
cpl **run** <br>
|
||||
cpl **r** <br>
|
||||
cpl **R**
|
||||
|
||||
| Argument | Description | Value type |
|
||||
|-----------------|:----------------------------------------------------------------------------------------------------:|:----------:|
|
||||
| ```<project>``` | Optional parameter to specify which project to start, if not set default project will be started. | ```str``` |
|
||||
| ```--dev``` | To run the project from source and not from dist after build. | ```str``` |
|
4
docs/build/html/_sources/cli.start.md.txt
vendored
4
docs/build/html/_sources/cli.start.md.txt
vendored
@@ -5,3 +5,7 @@ Starts your application, restarting on file changes.
|
||||
cpl **start** <br>
|
||||
cpl **s** <br>
|
||||
cpl **S**
|
||||
|
||||
| Argument | Description | Value type |
|
||||
|-----------------|:----------------------------------------------------------------------------------------------------:|:----------:|
|
||||
| ```--dev``` | To run the project from source and not from dist after build. | ```str``` |
|
6
docs/build/html/_sources/contributing.md.txt
vendored
6
docs/build/html/_sources/contributing.md.txt
vendored
@@ -44,7 +44,7 @@ Before you submit your Pull Request (PR) consider the following guidelines:
|
||||
|
||||
2. Be sure that an issue describes the problem you're fixing, or documents the design for the feature you'd like to add. Discussing the design upfront helps to ensure that we're ready to accept your work.
|
||||
|
||||
3. Fork the sh-edraft.de/sh_cpl repo.
|
||||
3. Fork the sh-edraft.de/cpl repo.
|
||||
|
||||
4. In your forked repository, make your changes in a new git branch:
|
||||
|
||||
@@ -70,7 +70,7 @@ Before you submit your Pull Request (PR) consider the following guidelines:
|
||||
git push origin my-fix-branch
|
||||
```
|
||||
|
||||
8. In Gitea, send a pull request to sh_cpl:master
|
||||
8. In Gitea, send a pull request to cpl:master
|
||||
|
||||
### Reviewing a Pull Request
|
||||
|
||||
@@ -104,7 +104,7 @@ To ensure consistency throughout the source code, keep these rules in mind as yo
|
||||
## License
|
||||
|
||||
By contributing, you agree that your contributions will be licensed under its MIT License.
|
||||
See [LICENSE](https://git.sh-edraft.de/sh-edraft.de/sh_cpl/src/branch/master/LICENSE)
|
||||
See [LICENSE](https://git.sh-edraft.de/sh-edraft.de/cpl/src/branch/master/LICENSE)
|
||||
|
||||
<!-- LINKS -->
|
||||
[gitea-repo]: https://git.sh-edraft.de/sh-edraft.de/sh_cpl/
|
||||
|
2
docs/build/html/_sources/cpl_cli.rst.txt
vendored
2
docs/build/html/_sources/cpl_cli.rst.txt
vendored
@@ -1,4 +1,4 @@
|
||||
CLI Reference
|
||||
CLI reference
|
||||
=============
|
||||
|
||||
.. toctree::
|
||||
|
@@ -7,8 +7,7 @@ cpl_core.database
|
||||
cpl_core.database.connection
|
||||
cpl_core.database.context
|
||||
|
||||
Submodules
|
||||
----------
|
||||
|
||||
|
||||
cpl_core.database.database\_model
|
||||
-----------------------------------
|
||||
|
27
docs/build/html/_sources/cpl_core.pipes.rst.txt
vendored
27
docs/build/html/_sources/cpl_core.pipes.rst.txt
vendored
@@ -1,10 +1,9 @@
|
||||
cpl\_core.pipes
|
||||
=======================
|
||||
|
||||
Submodules
|
||||
----------
|
||||
|
||||
cpl\_core.pipes.bool\_pipe module
|
||||
|
||||
cpl\_core.pipes.bool\_pipe
|
||||
---------------------------------
|
||||
|
||||
.. automodule:: cpl_core.pipes.bool_pipe
|
||||
@@ -12,7 +11,7 @@ cpl\_core.pipes.bool\_pipe module
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_core.pipes.first\_char\_to\_lower\_pipe module
|
||||
cpl\_core.pipes.first\_char\_to\_lower\_pipe
|
||||
---------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_core.pipes.first_char_to_lower_pipe
|
||||
@@ -20,7 +19,7 @@ cpl\_core.pipes.first\_char\_to\_lower\_pipe module
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_core.pipes.first\_to\_upper\_pipe module
|
||||
cpl\_core.pipes.first\_to\_upper\_pipe
|
||||
---------------------------------------------
|
||||
|
||||
.. automodule:: cpl_core.pipes.first_to_upper_pipe
|
||||
@@ -28,7 +27,7 @@ cpl\_core.pipes.first\_to\_upper\_pipe module
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_core.pipes.ip\_address\_pipe module
|
||||
cpl\_core.pipes.ip\_address\_pipe
|
||||
----------------------------------------
|
||||
|
||||
.. automodule:: cpl_core.pipes.ip_address_pipe
|
||||
@@ -36,7 +35,7 @@ cpl\_core.pipes.ip\_address\_pipe module
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_core.pipes.pipe\_abc module
|
||||
cpl\_core.pipes.pipe\_abc
|
||||
--------------------------------
|
||||
|
||||
.. automodule:: cpl_core.pipes.pipe_abc
|
||||
@@ -44,7 +43,7 @@ cpl\_core.pipes.pipe\_abc module
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_core.pipes.to\_camel\_case\_pipe module
|
||||
cpl\_core.pipes.to\_camel\_case\_pipe
|
||||
--------------------------------------------
|
||||
|
||||
.. automodule:: cpl_core.pipes.to_camel_case_pipe
|
||||
@@ -52,7 +51,7 @@ cpl\_core.pipes.to\_camel\_case\_pipe module
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_core.pipes.to\_snake\_case\_pipe module
|
||||
cpl\_core.pipes.to\_snake\_case\_pipe
|
||||
--------------------------------------------
|
||||
|
||||
.. automodule:: cpl_core.pipes.to_snake_case_pipe
|
||||
@@ -60,18 +59,10 @@ cpl\_core.pipes.to\_snake\_case\_pipe module
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_core.pipes.version\_pipe module
|
||||
cpl\_core.pipes.version\_pipe
|
||||
------------------------------------
|
||||
|
||||
.. automodule:: cpl_core.pipes.version_pipe
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
Module contents
|
||||
---------------
|
||||
|
||||
.. automodule:: cpl_core.pipes
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
2
docs/build/html/_sources/cpl_core.rst.txt
vendored
2
docs/build/html/_sources/cpl_core.rst.txt
vendored
@@ -1,4 +1,4 @@
|
||||
API Reference
|
||||
API reference
|
||||
===========
|
||||
|
||||
.. toctree::
|
||||
|
12
docs/build/html/_sources/cpl_discord.application.rst.txt
vendored
Normal file
12
docs/build/html/_sources/cpl_discord.application.rst.txt
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
cpl\_discord.application
|
||||
================================
|
||||
|
||||
|
||||
|
||||
cpl\_discord.application.discord\_bot\_application\_abc
|
||||
--------------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.application.discord_bot_application_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
20
docs/build/html/_sources/cpl_discord.command.rst.txt
vendored
Normal file
20
docs/build/html/_sources/cpl_discord.command.rst.txt
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
cpl\_discord.command
|
||||
============================
|
||||
|
||||
|
||||
|
||||
cpl\_discord.command.discord\_command\_abc
|
||||
-------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.command.discord_command_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.command.discord\_commands\_meta
|
||||
---------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.command.discord_commands_meta
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
12
docs/build/html/_sources/cpl_discord.configuration.rst.txt
vendored
Normal file
12
docs/build/html/_sources/cpl_discord.configuration.rst.txt
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
cpl\_discord.configuration
|
||||
==================================
|
||||
|
||||
|
||||
|
||||
cpl\_discord.configuration.discord\_bot\_settings
|
||||
--------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.configuration.discord_bot_settings
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
68
docs/build/html/_sources/cpl_discord.container.rst.txt
vendored
Normal file
68
docs/build/html/_sources/cpl_discord.container.rst.txt
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
cpl\_discord.container
|
||||
==============================
|
||||
|
||||
|
||||
|
||||
cpl\_discord.container.category\_channel
|
||||
-----------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.container.category_channel
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.container.container
|
||||
---------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.container.container
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.container.guild
|
||||
-----------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.container.guild
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.container.member
|
||||
------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.container.member
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.container.role
|
||||
----------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.container.role
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.container.text\_channel
|
||||
-------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.container.text_channel
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.container.thread
|
||||
------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.container.thread
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.container.voice\_channel
|
||||
--------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.container.voice_channel
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
412
docs/build/html/_sources/cpl_discord.events.rst.txt
vendored
Normal file
412
docs/build/html/_sources/cpl_discord.events.rst.txt
vendored
Normal file
@@ -0,0 +1,412 @@
|
||||
cpl\_discord.events
|
||||
===========================
|
||||
|
||||
|
||||
|
||||
cpl\_discord.events.on\_bulk\_message\_delete\_abc
|
||||
---------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_bulk_message_delete_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_command\_abc
|
||||
-------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_command_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_command\_completion\_abc
|
||||
-------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_command_completion_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_command\_error\_abc
|
||||
--------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_command_error_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_connect\_abc
|
||||
-------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_connect_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_disconnect\_abc
|
||||
----------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_disconnect_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_error\_abc
|
||||
-----------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_error_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_group\_join\_abc
|
||||
-----------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_group_join_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_group\_remove\_abc
|
||||
-------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_group_remove_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_available\_abc
|
||||
----------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_available_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_channel\_create\_abc
|
||||
----------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_channel_create_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_channel\_delete\_abc
|
||||
----------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_channel_delete_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_channel\_pins\_update\_abc
|
||||
----------------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_channel_pins_update_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_channel\_update\_abc
|
||||
----------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_channel_update_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_emojis\_update\_abc
|
||||
---------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_emojis_update_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_integrations\_update\_abc
|
||||
---------------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_integrations_update_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_join\_abc
|
||||
-----------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_join_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_remove\_abc
|
||||
-------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_remove_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_role\_create\_abc
|
||||
-------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_role_create_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_role\_delete\_abc
|
||||
-------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_role_delete_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_role\_update\_abc
|
||||
-------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_role_update_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_unavailable\_abc
|
||||
------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_unavailable_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_guild\_update\_abc
|
||||
-------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_guild_update_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_invite\_create\_abc
|
||||
--------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_invite_create_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_invite\_delete\_abc
|
||||
--------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_invite_delete_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_member\_ban\_abc
|
||||
-----------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_member_ban_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_member\_join\_abc
|
||||
------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_member_join_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_member\_remove\_abc
|
||||
--------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_member_remove_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_member\_unban\_abc
|
||||
-------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_member_unban_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_member\_update\_abc
|
||||
--------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_member_update_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_message\_abc
|
||||
-------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_message_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_message\_delete\_abc
|
||||
---------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_message_delete_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_message\_edit\_abc
|
||||
-------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_message_edit_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_private\_channel\_create\_abc
|
||||
------------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_private_channel_create_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_private\_channel\_delete\_abc
|
||||
------------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_private_channel_delete_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_private\_channel\_pins\_update\_abc
|
||||
------------------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_private_channel_pins_update_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_private\_channel\_update\_abc
|
||||
------------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_private_channel_update_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_raw\_reaction\_add\_abc
|
||||
------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_raw_reaction_add_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_raw\_reaction\_clear\_abc
|
||||
--------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_raw_reaction_clear_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_raw\_reaction\_clear\_emoji\_abc
|
||||
---------------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_raw_reaction_clear_emoji_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_raw\_reaction\_remove\_abc
|
||||
---------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_raw_reaction_remove_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_reaction\_add\_abc
|
||||
-------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_reaction_add_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_reaction\_clear\_abc
|
||||
---------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_reaction_clear_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_reaction\_clear\_emoji\_abc
|
||||
----------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_reaction_clear_emoji_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_reaction\_remove\_abc
|
||||
----------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_reaction_remove_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_ready\_abc
|
||||
-----------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_ready_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_resume\_abc
|
||||
------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_resume_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_typing\_abc
|
||||
------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_typing_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_user\_update\_abc
|
||||
------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_user_update_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_voice\_state\_update\_abc
|
||||
--------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_voice_state_update_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.events.on\_webhooks\_update\_abc
|
||||
----------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.events.on_webhooks_update_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
12
docs/build/html/_sources/cpl_discord.helper.rst.txt
vendored
Normal file
12
docs/build/html/_sources/cpl_discord.helper.rst.txt
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
cpl\_discord.helper
|
||||
===========================
|
||||
|
||||
|
||||
|
||||
cpl\_discord.helper.to\_containers\_converter
|
||||
----------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.helper.to_containers_converter
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
13
docs/build/html/_sources/cpl_discord.rst.txt
vendored
Normal file
13
docs/build/html/_sources/cpl_discord.rst.txt
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
Discord reference
|
||||
====================
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 4
|
||||
|
||||
cpl_discord.application
|
||||
cpl_discord.command
|
||||
cpl_discord.configuration
|
||||
cpl_discord.container
|
||||
cpl_discord.events
|
||||
cpl_discord.helper
|
||||
cpl_discord.service
|
60
docs/build/html/_sources/cpl_discord.service.rst.txt
vendored
Normal file
60
docs/build/html/_sources/cpl_discord.service.rst.txt
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
cpl\_discord.service
|
||||
============================
|
||||
|
||||
|
||||
|
||||
cpl\_discord.service.command\_error\_handler\_service
|
||||
------------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.service.command_error_handler_service
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.service.discord\_bot\_service
|
||||
-------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.service.discord_bot_service
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.service.discord\_bot\_service\_abc
|
||||
------------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.service.discord_bot_service_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.service.discord\_collection
|
||||
-----------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.service.discord_collection
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.service.discord\_collection\_abc
|
||||
----------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.service.discord_collection_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.service.discord\_service
|
||||
--------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.service.discord_service
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_discord.service.discord\_service\_abc
|
||||
-------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_discord.service.discord_service_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
52
docs/build/html/_sources/cpl_query.base.rst.txt
vendored
Normal file
52
docs/build/html/_sources/cpl_query.base.rst.txt
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
cpl\_query.base
|
||||
=======================
|
||||
|
||||
|
||||
|
||||
cpl\_query.base.default\_lambda
|
||||
--------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.base.default_lambda
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_query.base.ordered\_queryable
|
||||
-----------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.base.ordered_queryable
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_query.base.ordered\_queryable\_abc
|
||||
----------------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.base.ordered_queryable_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_query.base.queryable\_abc
|
||||
-------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.base.queryable_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_query.base.sequence\_abc
|
||||
------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.base.sequence_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_query.base.sequence\_values
|
||||
---------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.base.sequence_values
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
20
docs/build/html/_sources/cpl_query.enumerable.rst.txt
vendored
Normal file
20
docs/build/html/_sources/cpl_query.enumerable.rst.txt
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
cpl\_query.enumerable
|
||||
=============================
|
||||
|
||||
|
||||
|
||||
cpl\_query.enumerable.enumerable
|
||||
---------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.enumerable.enumerable
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_query.enumerable.enumerable\_abc
|
||||
--------------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.enumerable.enumerable_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
@@ -1,10 +0,0 @@
|
||||
cpl_query.exceptions
|
||||
=================================
|
||||
|
||||
cpl_query.exceptions
|
||||
----------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.exceptions
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
@@ -1,42 +1,12 @@
|
||||
cpl_query.extension
|
||||
=================================
|
||||
cpl\_query.extension
|
||||
============================
|
||||
|
||||
cpl_query.extension.iterable_abc
|
||||
----------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.extension.iterable_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl_query.extension.iterable
|
||||
----------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.extension.iterable
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl_query.extension.list
|
||||
----------------------------------------------------
|
||||
cpl\_query.extension.list
|
||||
--------------------------------
|
||||
|
||||
.. automodule:: cpl_query.extension.list
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl_query.extension.ordered_iterable_abc
|
||||
----------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.extension.ordered_iterable_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl_query.extension.ordered_iterable
|
||||
----------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.extension.ordered_iterable
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
20
docs/build/html/_sources/cpl_query.iterable.rst.txt
vendored
Normal file
20
docs/build/html/_sources/cpl_query.iterable.rst.txt
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
cpl\_query.iterable
|
||||
===========================
|
||||
|
||||
|
||||
|
||||
cpl\_query.iterable.iterable
|
||||
-----------------------------------
|
||||
|
||||
.. automodule:: cpl_query.iterable.iterable
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_query.iterable.iterable\_abc
|
||||
----------------------------------------
|
||||
|
||||
.. automodule:: cpl_query.iterable.iterable_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
6
docs/build/html/_sources/cpl_query.rst.txt
vendored
6
docs/build/html/_sources/cpl_query.rst.txt
vendored
@@ -1,8 +1,10 @@
|
||||
Query Reference
|
||||
Query reference
|
||||
===========
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 4
|
||||
|
||||
cpl_query.base
|
||||
cpl_query.enumerable
|
||||
cpl_query.extension
|
||||
cpl_query.exceptions
|
||||
cpl_query.iterable
|
||||
|
34
docs/build/html/_sources/cpl_translation.rst.txt
vendored
Normal file
34
docs/build/html/_sources/cpl_translation.rst.txt
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
Translation reference
|
||||
========================
|
||||
|
||||
cpl\_translation.translate\_pipe
|
||||
---------------------------------------
|
||||
|
||||
.. automodule:: cpl_translation.translate_pipe
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_translation.translation\_service
|
||||
--------------------------------------------
|
||||
|
||||
.. automodule:: cpl_translation.translation_service
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_translation.translation\_service\_abc
|
||||
-------------------------------------------------
|
||||
|
||||
.. automodule:: cpl_translation.translation_service_abc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
cpl\_translation.translation\_settings
|
||||
---------------------------------------------
|
||||
|
||||
.. automodule:: cpl_translation.translation_settings
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
69
docs/build/html/_sources/index.rst.txt
vendored
69
docs/build/html/_sources/index.rst.txt
vendored
@@ -10,6 +10,72 @@ The Common Python Library (CPL) is a package for python and a development platfo
|
||||
|
||||
This CPL docs help you learn, understand and use the package. From your first application to complex apps for enterprises.
|
||||
|
||||
|
||||
Features
|
||||
--------
|
||||
- cpl-core
|
||||
- Expandle
|
||||
- Application base
|
||||
- Standardized application classes
|
||||
- Application object builder
|
||||
- Application extension classes
|
||||
- Startup classes
|
||||
- Startup extension classes
|
||||
- Configuration
|
||||
- Configure via object mapped JSON
|
||||
- Console argument handling
|
||||
- Console class for in and output
|
||||
- Banner
|
||||
- Spinner
|
||||
- Options (menu)
|
||||
- Table
|
||||
- Write
|
||||
- Write_at
|
||||
- Write_line
|
||||
- Write_line_at
|
||||
- Dependency injection
|
||||
- Service lifetimes: singleton, scoped and transient
|
||||
- Providing of application environment
|
||||
- Environment (development, staging, testing, production)
|
||||
- Appname
|
||||
- Customer
|
||||
- Hostname
|
||||
- Runtime directory
|
||||
- Working directory
|
||||
- Logging
|
||||
- Standardized logger
|
||||
- Log-level (FATAL, ERROR, WARN, INFO, DEBUG & TRACE)
|
||||
- Mail handling
|
||||
- Send mails
|
||||
- Pipe classes
|
||||
- Convert input
|
||||
- Utils
|
||||
- Credential manager
|
||||
- Encryption via BASE64
|
||||
- PIP wrapper class based on subprocess
|
||||
- Run pip commands
|
||||
- String converter to different variants
|
||||
- to_lower_case
|
||||
- to_camel_case
|
||||
- ...
|
||||
- cpl-cli
|
||||
- Expandle
|
||||
- Code generation
|
||||
- Package managing
|
||||
- Build & Publishing
|
||||
- cpl-discord
|
||||
- Utils for discord.py
|
||||
- Connector between cpl-core and discord.py
|
||||
- Prepared services for dependency injection
|
||||
- cpl-query
|
||||
- Python list extensions
|
||||
- Functions for sorting and filtering
|
||||
- Like linq from C# but in python xD
|
||||
- cpl-translate
|
||||
- Generic translations
|
||||
- Prepared translation service and translate pipe
|
||||
- Get translation from JSON files key dot.key notation
|
||||
|
||||
Manuals
|
||||
---------
|
||||
|
||||
@@ -20,6 +86,9 @@ These pages go into great detail about everything the Library can do.
|
||||
|
||||
introduction
|
||||
getting_started
|
||||
contributing
|
||||
cpl_cli
|
||||
cpl_core
|
||||
cpl_discord
|
||||
cpl_query
|
||||
cpl_translation
|
||||
|
2
docs/build/html/_sources/modules.rst.txt
vendored
2
docs/build/html/_sources/modules.rst.txt
vendored
@@ -7,4 +7,6 @@ cpl
|
||||
getting_started
|
||||
cpl_cli
|
||||
cpl_core
|
||||
cpl_discord
|
||||
cpl_query
|
||||
cpl_translation
|
||||
|
6
docs/build/html/_sources/setup.md.txt
vendored
6
docs/build/html/_sources/setup.md.txt
vendored
@@ -27,7 +27,7 @@ Also you need to have the following installed.
|
||||
To install the package, open a terminal window and run the following command:
|
||||
|
||||
```sh
|
||||
pip install sh_cpl-core --extra-index-url https://pip.sh-edraft.de
|
||||
pip install cpl-core --extra-index-url https://pip.sh-edraft.de
|
||||
```
|
||||
|
||||
## Install the CLI
|
||||
@@ -37,7 +37,7 @@ You use the CPL CLI to create projects, generate application and library code. Y
|
||||
To install the CLI, open a terminal window and run the following command:
|
||||
|
||||
```sh
|
||||
pip install sh_cpl-cli --extra-index-url https://pip.sh-edraft.de
|
||||
pip install cpl-cli --extra-index-url https://pip.sh-edraft.de
|
||||
```
|
||||
|
||||
## Install the query
|
||||
@@ -45,7 +45,7 @@ pip install sh_cpl-cli --extra-index-url https://pip.sh-edraft.de
|
||||
To install the package, open a terminal window and run the following command:
|
||||
|
||||
```sh
|
||||
pip install sh_cpl-query --extra-index-url https://pip.sh-edraft.de
|
||||
pip install cpl-query --extra-index-url https://pip.sh-edraft.de
|
||||
```
|
||||
|
||||
## Create initial console app
|
||||
|
@@ -1,3 +1,3 @@
|
||||
# Using appsettings.json
|
||||
|
||||
## Comming soon
|
||||
## Coming soon
|
@@ -1,3 +1,3 @@
|
||||
# Handle console arguments
|
||||
|
||||
## Comming soon
|
||||
## Coming soon
|
@@ -1,3 +1,3 @@
|
||||
# Use cpl_core.console.Console
|
||||
|
||||
## Comming soon
|
||||
## Coming soon
|
@@ -1,3 +1,3 @@
|
||||
# Create startup class
|
||||
|
||||
## Comming soon
|
||||
## Coming soon
|
@@ -1,3 +1,3 @@
|
||||
# Extend application
|
||||
|
||||
## Comming soon
|
||||
## Coming soon
|
@@ -1,3 +1,3 @@
|
||||
# Extend startup
|
||||
|
||||
## Comming soon
|
||||
## Coming soon
|
@@ -1,3 +1,3 @@
|
||||
# Use builtin logger
|
||||
|
||||
## Comming soon
|
||||
## Coming soon
|
@@ -1,3 +1,3 @@
|
||||
# Send mails
|
||||
|
||||
## Comming soon
|
||||
## Coming soon
|
1
docs/build/html/_sources/tutorials.rst.txt
vendored
1
docs/build/html/_sources/tutorials.rst.txt
vendored
@@ -12,3 +12,4 @@ Tutorials
|
||||
tutorials.console
|
||||
tutorials.logging
|
||||
tutorials.mail
|
||||
tutorials.templating
|
181
docs/build/html/_sources/tutorials.templating.md.txt
vendored
Normal file
181
docs/build/html/_sources/tutorials.templating.md.txt
vendored
Normal file
@@ -0,0 +1,181 @@
|
||||
# Using cpl g & cpl n templating
|
||||
|
||||
## Contents
|
||||
|
||||
- [Prerequisites](#prerequisites)
|
||||
- [Generate schematics](#cpl-generate-scmatics)
|
||||
- [Project types](#cpl-new-project-types)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Create a folder called ```.cpl```
|
||||
|
||||
## cpl generate schematics
|
||||
|
||||
Create a file which begins with ```schematic_your_schematic.py```.
|
||||
A schematic template is detected by starting with ```schematic_``` and endswith ```.py```.
|
||||
|
||||
You should replace ```your_schematic``` with an appropriate name of your schematic. For example, we will choose ```Enum```.
|
||||
Attention: It is important that you do not overwrite templates by creating a file or class with the same name.
|
||||
|
||||
In the template create a class with the name of your schematic. For example:
|
||||
|
||||
```python
|
||||
from cpl_cli.abc.generate_schematic_abc import GenerateSchematicABC
|
||||
|
||||
|
||||
class Enum(GenerateSchematicABC):
|
||||
|
||||
def __init__(self, *args: str):
|
||||
GenerateSchematicABC.__init__(self, *args)
|
||||
|
||||
def get_code(self) -> str:
|
||||
import textwrap
|
||||
code = textwrap.dedent("""\
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class $Name(Enum):
|
||||
|
||||
atr = 0
|
||||
""")
|
||||
return self.build_code_str(code, Name=self._class_name)
|
||||
|
||||
@classmethod
|
||||
def register(cls):
|
||||
GenerateSchematicABC.register(
|
||||
cls,
|
||||
'enum',
|
||||
['e', 'E']
|
||||
)
|
||||
|
||||
```
|
||||
|
||||
You can test it by calling ```cpl g --help``` your schematic should be listed as available.
|
||||
|
||||
## cpl new project types
|
||||
|
||||
The project templating is a little more complex and is therefore divided into several files.
|
||||
First of all, for information, it is very important not to overwrite any existing files or classes!
|
||||
|
||||
Template structure explained by the example of the internal type ```console```:
|
||||
|
||||
```
|
||||
- project_console.py
|
||||
- project_file_license.py
|
||||
- project_file_appsettings.py
|
||||
- project_file.py
|
||||
- project_file_readme.py
|
||||
- project_file_code_main.py
|
||||
- project_file_code_startup.py
|
||||
- project_file_code_application.py
|
||||
```
|
||||
|
||||
Here the template ```project_console.py``` defines how a console project has to look like when it is generated. Here is the code to illustrate this:
|
||||
|
||||
```python
|
||||
from cpl_cli.abc.project_type_abc import ProjectTypeABC
|
||||
from cpl_cli.configuration import WorkspaceSettings
|
||||
from cpl_core.utils import String
|
||||
|
||||
|
||||
class Console(ProjectTypeABC):
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
base_path: str,
|
||||
project_name: str,
|
||||
workspace: WorkspaceSettings,
|
||||
use_application_api: bool,
|
||||
use_startup: bool,
|
||||
use_service_providing: bool,
|
||||
use_async: bool,
|
||||
project_file_data: dict,
|
||||
):
|
||||
from project_file import ProjectFile
|
||||
from project_file_appsettings import ProjectFileAppsettings
|
||||
from project_file_code_application import ProjectFileApplication
|
||||
from project_file_code_main import ProjectFileMain
|
||||
from project_file_code_startup import ProjectFileStartup
|
||||
from project_file_readme import ProjectFileReadme
|
||||
from project_file_license import ProjectFileLicense
|
||||
from schematic_init import Init
|
||||
|
||||
ProjectTypeABC.__init__(self, base_path, project_name, workspace, use_application_api, use_startup, use_service_providing, use_async, project_file_data)
|
||||
|
||||
project_path = f'{base_path}{String.convert_to_snake_case(project_name.split("/")[-1])}/'
|
||||
|
||||
self.add_template(ProjectFile(project_name.split('/')[-1], project_path, project_file_data))
|
||||
if workspace is None:
|
||||
self.add_template(ProjectFileLicense(''))
|
||||
self.add_template(ProjectFileReadme(''))
|
||||
self.add_template(Init('', 'init', f'{base_path}tests/'))
|
||||
|
||||
self.add_template(Init('', 'init', project_path))
|
||||
self.add_template(ProjectFileAppsettings(project_path))
|
||||
|
||||
if use_application_api:
|
||||
self.add_template(ProjectFileApplication(project_path, use_application_api, use_startup, use_service_providing, use_async))
|
||||
|
||||
if use_startup:
|
||||
self.add_template(ProjectFileStartup(project_path, use_application_api, use_startup, use_service_providing, use_async))
|
||||
|
||||
self.add_template(ProjectFileMain(project_name.split('/')[-1], project_path, use_application_api, use_startup, use_service_providing, use_async))
|
||||
```
|
||||
|
||||
The class must be named exactly as the project type should be named. It is also checked on the initial letter of the class as alias.
|
||||
Now create a class for normal files which inherits from ```FileTemplateABC``` and a class for code files which inherits from ```CodeFileTemplateABC```.
|
||||
|
||||
For example:
|
||||
|
||||
project_file_code_startup.py:
|
||||
```python
|
||||
from cpl_cli.abc.code_file_template_abc import CodeFileTemplateABC
|
||||
|
||||
|
||||
class ProjectFileStartup(CodeFileTemplateABC):
|
||||
|
||||
def __init__(self, path: str, use_application_api: bool, use_startup: bool, use_service_providing: bool, use_async: bool):
|
||||
CodeFileTemplateABC.__init__(self, 'startup', path, '', use_application_api, use_startup, use_service_providing, use_async)
|
||||
|
||||
def get_code(self) -> str:
|
||||
import textwrap
|
||||
|
||||
return textwrap.dedent("""\
|
||||
from cpl_core.application import StartupABC
|
||||
from cpl_core.configuration import ConfigurationABC
|
||||
from cpl_core.dependency_injection import ServiceProviderABC, ServiceCollectionABC
|
||||
from cpl_core.environment import ApplicationEnvironment
|
||||
|
||||
|
||||
class Startup(StartupABC):
|
||||
|
||||
def __init__(self):
|
||||
StartupABC.__init__(self)
|
||||
|
||||
def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironment) -> ConfigurationABC:
|
||||
return configuration
|
||||
|
||||
def configure_services(self, services: ServiceCollectionABC, environment: ApplicationEnvironment) -> ServiceProviderABC:
|
||||
return services.build_service_provider()
|
||||
""")
|
||||
```
|
||||
|
||||
project_file.py:
|
||||
|
||||
```python
|
||||
import json
|
||||
|
||||
from cpl_cli.abc.file_template_abc import FileTemplateABC
|
||||
|
||||
|
||||
class ProjectFile(FileTemplateABC):
|
||||
|
||||
def __init__(self, name: str, path: str, code: dict):
|
||||
FileTemplateABC.__init__(self, '', path, '{}')
|
||||
self._name = f'{name}.json'
|
||||
self._code = code
|
||||
|
||||
def get_code(self) -> str:
|
||||
return json.dumps(self._code, indent=2)
|
||||
```
|
14
docs/build/html/cli.add.html
vendored
14
docs/build/html/cli.add.html
vendored
@@ -41,7 +41,8 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction to the CPL Docs</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting started</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI Reference</a><ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to CPL</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI reference</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.overview.html">CLI Overview and Command Reference</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">cpl add</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#contents">Contents</a></li>
|
||||
@@ -63,8 +64,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.version.html">cpl version</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_discord.html">Discord reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_translation.html">Translation reference</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -81,7 +84,7 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI Reference</a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI reference</a> »</li>
|
||||
<li>cpl add</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="_sources/cli.add.md.txt" rel="nofollow"> View page source</a>
|
||||
@@ -99,6 +102,7 @@
|
||||
<ul class="simple">
|
||||
<li><p><span class="xref myst">Description</span></p></li>
|
||||
<li><p><span class="xref myst">Arguments</span></p></li>
|
||||
<li><p><span class="xref myst">Flags</span></p></li>
|
||||
</ul>
|
||||
<p>Removes a project from workspace.</p>
|
||||
<p>cpl <strong>add</strong> <em><source-project></em> <em><target-project></em> <br>
|
||||
@@ -159,7 +163,7 @@ cpl <strong>A</strong> <em><source-project></em> <em><target-project>
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2021, Sven Heidemann.</p>
|
||||
<p>© Copyright 2021 - 2023, Sven Heidemann.</p>
|
||||
</div>
|
||||
|
||||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||||
|
13
docs/build/html/cli.build.html
vendored
13
docs/build/html/cli.build.html
vendored
@@ -41,7 +41,8 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction to the CPL Docs</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting started</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI Reference</a><ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to CPL</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI reference</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.overview.html">CLI Overview and Command Reference</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.add.html">cpl add</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">cpl build</a><ul>
|
||||
@@ -61,8 +62,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.version.html">cpl version</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_discord.html">Discord reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_translation.html">Translation reference</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -79,7 +82,7 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI Reference</a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI reference</a> »</li>
|
||||
<li>cpl build</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="_sources/cli.build.md.txt" rel="nofollow"> View page source</a>
|
||||
@@ -127,7 +130,7 @@ cpl <strong>B</strong></p>
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2021, Sven Heidemann.</p>
|
||||
<p>© Copyright 2021 - 2023, Sven Heidemann.</p>
|
||||
</div>
|
||||
|
||||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||||
|
26
docs/build/html/cli.generate.html
vendored
26
docs/build/html/cli.generate.html
vendored
@@ -41,7 +41,8 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction to the CPL Docs</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting started</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI Reference</a><ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to CPL</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI reference</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.overview.html">CLI Overview and Command Reference</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.add.html">cpl add</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.build.html">cpl build</a></li>
|
||||
@@ -63,8 +64,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.version.html">cpl version</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_discord.html">Discord reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_translation.html">Translation reference</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -81,7 +84,7 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI Reference</a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI reference</a> »</li>
|
||||
<li>cpl generate</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="_sources/cli.generate.md.txt" rel="nofollow"> View page source</a>
|
||||
@@ -109,6 +112,7 @@ cpl <strong>G</strong> <em><schematic></em> <em><name></em></p>
|
||||
<section id="description">
|
||||
<h2>Description<a class="headerlink" href="#description" title="Permalink to this heading"></a></h2>
|
||||
<p>Generates files based on a schematic.</p>
|
||||
<p>You can define custom schematics by creating templates in a <code class="docutils literal notranslate"><span class="pre">.cpl</span></code> folder.</p>
|
||||
</section>
|
||||
<section id="arguments">
|
||||
<h2>Arguments<a class="headerlink" href="#arguments" title="Permalink to this heading"></a></h2>
|
||||
@@ -128,6 +132,10 @@ cpl <strong>G</strong> <em><schematic></em> <em><name></em></p>
|
||||
<td class="text-center"><p>The name of the generated file.</p></td>
|
||||
<td class="text-center"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">--base</span></code></p></td>
|
||||
<td class="text-center"><p>First element of path will be used as base-path not ‘src’. For example: ‘cpl g c test/Test’ will be created at <code class="docutils literal notranslate"><span class="pre">src/test/</span></code> with –base it would be <code class="docutils literal notranslate"><span class="pre">test/</span></code></p></td>
|
||||
<td class="text-center"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
@@ -177,6 +185,14 @@ cpl <strong>G</strong> <em><schematic></em> <em><name></em></p>
|
||||
<td class="text-center"><p>Validator class</p></td>
|
||||
<td class="text-center"><p><code class="docutils literal notranslate"><span class="pre"><name></span></code></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">command</span></code></p></td>
|
||||
<td class="text-center"><p>Discord bot command class</p></td>
|
||||
<td class="text-center"><p><code class="docutils literal notranslate"><span class="pre"><name></span></code></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">event</span></code></p></td>
|
||||
<td class="text-center"><p>Discord bot event class</p></td>
|
||||
<td class="text-center"><p><code class="docutils literal notranslate"><span class="pre"><name></span></code></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
@@ -193,7 +209,7 @@ cpl <strong>G</strong> <em><schematic></em> <em><name></em></p>
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2021, Sven Heidemann.</p>
|
||||
<p>© Copyright 2021 - 2023, Sven Heidemann.</p>
|
||||
</div>
|
||||
|
||||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||||
|
25
docs/build/html/cli.help.html
vendored
25
docs/build/html/cli.help.html
vendored
@@ -41,12 +41,14 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction to the CPL Docs</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting started</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI Reference</a><ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to CPL</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI reference</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.overview.html">CLI Overview and Command Reference</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.add.html">cpl add</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.build.html">cpl build</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.generate.html">cpl generate</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">cpl help</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#contents">Contents</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#description">Description</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#arguments">Arguments</a></li>
|
||||
</ul>
|
||||
@@ -61,8 +63,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.version.html">cpl version</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_discord.html">Discord reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_translation.html">Translation reference</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -79,7 +83,7 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI Reference</a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI reference</a> »</li>
|
||||
<li>cpl help</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="_sources/cli.help.md.txt" rel="nofollow"> View page source</a>
|
||||
@@ -92,14 +96,17 @@
|
||||
|
||||
<section id="cpl-help">
|
||||
<h1>cpl help<a class="headerlink" href="#cpl-help" title="Permalink to this heading"></a></h1>
|
||||
<!-- ## Contents
|
||||
|
||||
- [Description](#description) -->
|
||||
<!-- - [Arguments](#arguments) -->
|
||||
<section id="contents">
|
||||
<h2>Contents<a class="headerlink" href="#contents" title="Permalink to this heading"></a></h2>
|
||||
<ul class="simple">
|
||||
<li><p><span class="xref myst">Description</span></p></li>
|
||||
<li><p><span class="xref myst">Arguments</span></p></li>
|
||||
</ul>
|
||||
<p>Lists available command and their short descriptions.</p>
|
||||
<p>cpl <strong>help</strong> <em><command></em> <br>
|
||||
cpl <strong>h</strong> <em><command></em> <br>
|
||||
cpl <strong>H</strong> <em><command></em></p>
|
||||
</section>
|
||||
<section id="description">
|
||||
<h2>Description<a class="headerlink" href="#description" title="Permalink to this heading"></a></h2>
|
||||
<p>Lists available command and their short descriptions.</p>
|
||||
@@ -134,7 +141,7 @@ cpl <strong>H</strong> <em><command></em></p>
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2021, Sven Heidemann.</p>
|
||||
<p>© Copyright 2021 - 2023, Sven Heidemann.</p>
|
||||
</div>
|
||||
|
||||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||||
|
13
docs/build/html/cli.install.html
vendored
13
docs/build/html/cli.install.html
vendored
@@ -41,7 +41,8 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction to the CPL Docs</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting started</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI Reference</a><ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to CPL</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI reference</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.overview.html">CLI Overview and Command Reference</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.add.html">cpl add</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.build.html">cpl build</a></li>
|
||||
@@ -63,8 +64,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.version.html">cpl version</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_discord.html">Discord reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_translation.html">Translation reference</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -81,7 +84,7 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI Reference</a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI reference</a> »</li>
|
||||
<li>cpl install</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="_sources/cli.install.md.txt" rel="nofollow"> View page source</a>
|
||||
@@ -161,7 +164,7 @@ Without given package it will install the depedencies of the CPL project your in
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2021, Sven Heidemann.</p>
|
||||
<p>© Copyright 2021 - 2023, Sven Heidemann.</p>
|
||||
</div>
|
||||
|
||||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||||
|
18
docs/build/html/cli.new.html
vendored
18
docs/build/html/cli.new.html
vendored
@@ -41,7 +41,8 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction to the CPL Docs</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting started</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI Reference</a><ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to CPL</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI reference</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.overview.html">CLI Overview and Command Reference</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.add.html">cpl add</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.build.html">cpl build</a></li>
|
||||
@@ -63,8 +64,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.version.html">cpl version</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_discord.html">Discord reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_translation.html">Translation reference</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -81,7 +84,7 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI Reference</a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI reference</a> »</li>
|
||||
<li>cpl new</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="_sources/cli.new.md.txt" rel="nofollow"> View page source</a>
|
||||
@@ -109,6 +112,7 @@ cpl <strong>N</strong> <em><type></em> <em><name></em></p>
|
||||
<section id="description">
|
||||
<h2>Description<a class="headerlink" href="#description" title="Permalink to this heading"></a></h2>
|
||||
<p>Generates a workspace and initial project or add a project to workspace.</p>
|
||||
<p>You can define custom project types by creating templates in a <code class="docutils literal notranslate"><span class="pre">.cpl</span></code> folder.</p>
|
||||
<p>If the command is running in a CPL workspace, it will add the new project to the workspace.</p>
|
||||
<table class="colwidths-auto docutils align-default">
|
||||
<thead>
|
||||
@@ -126,6 +130,10 @@ cpl <strong>N</strong> <em><type></em> <em><name></em></p>
|
||||
<td class="text-center"><p>The name of the project</p></td>
|
||||
<td class="text-center"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">--base</span></code></p></td>
|
||||
<td class="text-center"><p>First element of path will be used as base-path not ‘src’. For example: ‘cpl g c test/Test’ will be created at <code class="docutils literal notranslate"><span class="pre">src/test/</span></code> with –base it would be <code class="docutils literal notranslate"><span class="pre">test/</span></code></p></td>
|
||||
<td class="text-center"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
@@ -190,7 +198,7 @@ cpl <strong>N</strong> <em><type></em> <em><name></em></p>
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2021, Sven Heidemann.</p>
|
||||
<p>© Copyright 2021 - 2023, Sven Heidemann.</p>
|
||||
</div>
|
||||
|
||||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||||
|
17
docs/build/html/cli.overview.html
vendored
17
docs/build/html/cli.overview.html
vendored
@@ -20,7 +20,7 @@
|
||||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
<link rel="next" title="cpl add" href="cli.add.html" />
|
||||
<link rel="prev" title="CLI Reference" href="cpl_cli.html" />
|
||||
<link rel="prev" title="CLI reference" href="cpl_cli.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@@ -41,7 +41,8 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction to the CPL Docs</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting started</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI Reference</a><ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to CPL</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI reference</a><ul class="current">
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">CLI Overview and Command Reference</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#table-of-contents">Table of Contents</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#basic-workflow">Basic workflow</a></li>
|
||||
@@ -67,8 +68,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.version.html">cpl version</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_discord.html">Discord reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_translation.html">Translation reference</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -85,7 +88,7 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI Reference</a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI reference</a> »</li>
|
||||
<li>CLI Overview and Command Reference</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="_sources/cli.overview.md.txt" rel="nofollow"> View page source</a>
|
||||
@@ -201,14 +204,14 @@ cpl start
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="cpl_cli.html" class="btn btn-neutral float-left" title="CLI Reference" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="cpl_cli.html" class="btn btn-neutral float-left" title="CLI reference" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="cli.add.html" class="btn btn-neutral float-right" title="cpl add" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2021, Sven Heidemann.</p>
|
||||
<p>© Copyright 2021 - 2023, Sven Heidemann.</p>
|
||||
</div>
|
||||
|
||||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||||
|
13
docs/build/html/cli.publish.html
vendored
13
docs/build/html/cli.publish.html
vendored
@@ -41,7 +41,8 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction to the CPL Docs</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting started</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI Reference</a><ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to CPL</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI reference</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.overview.html">CLI Overview and Command Reference</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.add.html">cpl add</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.build.html">cpl build</a></li>
|
||||
@@ -61,8 +62,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.version.html">cpl version</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_discord.html">Discord reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_translation.html">Translation reference</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -79,7 +82,7 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI Reference</a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI reference</a> »</li>
|
||||
<li>cpl publish</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="_sources/cli.publish.md.txt" rel="nofollow"> View page source</a>
|
||||
@@ -127,7 +130,7 @@ The command executes the <code class="docutils literal notranslate"><span class=
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2021, Sven Heidemann.</p>
|
||||
<p>© Copyright 2021 - 2023, Sven Heidemann.</p>
|
||||
</div>
|
||||
|
||||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||||
|
13
docs/build/html/cli.remove.html
vendored
13
docs/build/html/cli.remove.html
vendored
@@ -41,7 +41,8 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction to the CPL Docs</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting started</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI Reference</a><ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to CPL</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI reference</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.overview.html">CLI Overview and Command Reference</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.add.html">cpl add</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.build.html">cpl build</a></li>
|
||||
@@ -63,8 +64,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.version.html">cpl version</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_discord.html">Discord reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_translation.html">Translation reference</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -81,7 +84,7 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI Reference</a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI reference</a> »</li>
|
||||
<li>cpl remove</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="_sources/cli.remove.md.txt" rel="nofollow"> View page source</a>
|
||||
@@ -155,7 +158,7 @@ cpl <strong>R</strong> <em><project></em></p>
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2021, Sven Heidemann.</p>
|
||||
<p>© Copyright 2021 - 2023, Sven Heidemann.</p>
|
||||
</div>
|
||||
|
||||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||||
|
128
docs/build/html/cli.run.html
vendored
Normal file
128
docs/build/html/cli.run.html
vendored
Normal file
@@ -0,0 +1,128 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="writer-html5" lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>cpl run — Common Python Library documentation</title>
|
||||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
||||
<!--[if lt IE 9]>
|
||||
<script src="_static/js/html5shiv.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
|
||||
<script src="_static/jquery.js"></script>
|
||||
<script src="_static/underscore.js"></script>
|
||||
<script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
|
||||
<script src="_static/doctools.js"></script>
|
||||
<script src="_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
<div class="wy-grid-for-nav">
|
||||
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
||||
<div class="wy-side-scroll">
|
||||
<div class="wy-side-nav-search" >
|
||||
<a href="index.html" class="icon icon-home"> Common Python Library
|
||||
</a>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
||||
<input type="text" name="q" placeholder="Search docs" />
|
||||
<input type="hidden" name="check_keywords" value="yes" />
|
||||
<input type="hidden" name="area" value="default" />
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction to the CPL Docs</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting started</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to CPL</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_cli.html">CLI reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_discord.html">Discord reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_translation.html">Translation reference</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
|
||||
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
||||
<a href="index.html">Common Python Library</a>
|
||||
</nav>
|
||||
|
||||
<div class="wy-nav-content">
|
||||
<div class="rst-content">
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
||||
<li>cpl run</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="_sources/cli.run.md.txt" rel="nofollow"> View page source</a>
|
||||
</li>
|
||||
</ul>
|
||||
<hr/>
|
||||
</div>
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="cpl-run">
|
||||
<h1>cpl run<a class="headerlink" href="#cpl-run" title="Permalink to this heading"></a></h1>
|
||||
<p>Starts your application once.</p>
|
||||
<p>cpl <strong>run</strong> <br>
|
||||
cpl <strong>r</strong> <br>
|
||||
cpl <strong>R</strong></p>
|
||||
<table class="colwidths-auto docutils align-default">
|
||||
<thead>
|
||||
<tr class="row-odd"><th class="head"><p>Argument</p></th>
|
||||
<th class="text-center head"><p>Description</p></th>
|
||||
<th class="text-center head"><p>Value type</p></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre"><project></span></code></p></td>
|
||||
<td class="text-center"><p>Optional parameter to specify which project to start, if not set default project will be started.</p></td>
|
||||
<td class="text-center"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">--dev</span></code></p></td>
|
||||
<td class="text-center"><p>To run the project from source and not from dist after build.</p></td>
|
||||
<td class="text-center"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2021 - 2023, Sven Heidemann.</p>
|
||||
</div>
|
||||
|
||||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||||
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
|
||||
provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
||||
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script>
|
||||
jQuery(function () {
|
||||
SphinxRtdTheme.Navigation.enable(true);
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
27
docs/build/html/cli.start.html
vendored
27
docs/build/html/cli.start.html
vendored
@@ -41,7 +41,8 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction to the CPL Docs</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting started</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI Reference</a><ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to CPL</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="cpl_cli.html">CLI reference</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.overview.html">CLI Overview and Command Reference</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.add.html">cpl add</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.build.html">cpl build</a></li>
|
||||
@@ -57,8 +58,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cli.version.html">cpl version</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query Reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_core.html">API reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_discord.html">Discord reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_query.html">Query reference</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="cpl_translation.html">Translation reference</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -75,7 +78,7 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI Reference</a> »</li>
|
||||
<li><a href="cpl_cli.html">CLI reference</a> »</li>
|
||||
<li>cpl start</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="_sources/cli.start.md.txt" rel="nofollow"> View page source</a>
|
||||
@@ -92,6 +95,20 @@
|
||||
<p>cpl <strong>start</strong> <br>
|
||||
cpl <strong>s</strong> <br>
|
||||
cpl <strong>S</strong></p>
|
||||
<table class="colwidths-auto docutils align-default">
|
||||
<thead>
|
||||
<tr class="row-odd"><th class="head"><p>Argument</p></th>
|
||||
<th class="text-center head"><p>Description</p></th>
|
||||
<th class="text-center head"><p>Value type</p></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">--dev</span></code></p></td>
|
||||
<td class="text-center"><p>To run the project from source and not from dist after build.</p></td>
|
||||
<td class="text-center"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -105,7 +122,7 @@ cpl <strong>S</strong></p>
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright 2021, Sven Heidemann.</p>
|
||||
<p>© Copyright 2021 - 2023, Sven Heidemann.</p>
|
||||
</div>
|
||||
|
||||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user