From 5afbdb9b826bf0f994e4427ccfbf615ca9925be4 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Wed, 17 Nov 2021 18:45:57 +0100 Subject: [PATCH] Added start script & helper file --- .vscode/PythonImportHelper-v2-Completion.json | 1434 +++++++++++++++++ scripts/start.sh | 4 + 2 files changed, 1438 insertions(+) create mode 100644 .vscode/PythonImportHelper-v2-Completion.json create mode 100755 scripts/start.sh diff --git a/.vscode/PythonImportHelper-v2-Completion.json b/.vscode/PythonImportHelper-v2-Completion.json new file mode 100644 index 0000000..3911507 --- /dev/null +++ b/.vscode/PythonImportHelper-v2-Completion.json @@ -0,0 +1,1434 @@ +[ + { + "label": "ApplicationABC", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "ApplicationBuilder", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "StartupABC", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "ApplicationABC", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "ApplicationABC", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "ApplicationBuilder", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "StartupABC", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "ApplicationABC", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "ApplicationBuilder", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "StartupABC", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "ApplicationABC", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "ApplicationBuilder", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "StartupABC", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "ApplicationABC", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "ApplicationBuilder", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "StartupABC", + "importPath": "cpl_core.application", + "description": "cpl_core.application", + "isExtraImport": true, + "detail": "cpl_core.application", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "Configuration", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationModelABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationModelABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration", + "description": "cpl_core.configuration", + "isExtraImport": true, + "detail": "cpl_core.configuration", + "documentation": {} + }, + { + "label": "Console", + "importPath": "cpl_core.console", + "description": "cpl_core.console", + "isExtraImport": true, + "detail": "cpl_core.console", + "documentation": {} + }, + { + "label": "Console", + "importPath": "cpl_core.console", + "description": "cpl_core.console", + "isExtraImport": true, + "detail": "cpl_core.console", + "documentation": {} + }, + { + "label": "Console", + "importPath": "cpl_core.console", + "description": "cpl_core.console", + "isExtraImport": true, + "detail": "cpl_core.console", + "documentation": {} + }, + { + "label": "Console", + "importPath": "cpl_core.console", + "description": "cpl_core.console", + "isExtraImport": true, + "detail": "cpl_core.console", + "documentation": {} + }, + { + "label": "Console", + "importPath": "cpl_core.console", + "description": "cpl_core.console", + "isExtraImport": true, + "detail": "cpl_core.console", + "documentation": {} + }, + { + "label": "Console", + "importPath": "cpl_core.console", + "description": "cpl_core.console", + "isExtraImport": true, + "detail": "cpl_core.console", + "documentation": {} + }, + { + "label": "Console", + "importPath": "cpl_core.console", + "description": "cpl_core.console", + "isExtraImport": true, + "detail": "cpl_core.console", + "documentation": {} + }, + { + "label": "Console", + "importPath": "cpl_core.console", + "description": "cpl_core.console", + "isExtraImport": true, + "detail": "cpl_core.console", + "documentation": {} + }, + { + "label": "Console", + "importPath": "cpl_core.console", + "description": "cpl_core.console", + "isExtraImport": true, + "detail": "cpl_core.console", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceCollectionABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceCollection", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceCollectionABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceCollectionABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceCollectionABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceProviderABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "ServiceCollectionABC", + "importPath": "cpl_core.dependency_injection", + "description": "cpl_core.dependency_injection", + "isExtraImport": true, + "detail": "cpl_core.dependency_injection", + "documentation": {} + }, + { + "label": "asyncio", + "kind": 6, + "isExtraImport": true, + "importPath": "asyncio", + "description": "asyncio", + "detail": "asyncio", + "documentation": {} + }, + { + "label": "Application", + "importPath": "gismo.application", + "description": "gismo.application", + "isExtraImport": true, + "detail": "gismo.application", + "documentation": {} + }, + { + "label": "Application", + "importPath": "gismo.application", + "description": "gismo.application", + "isExtraImport": true, + "detail": "gismo.application", + "documentation": {} + }, + { + "label": "Startup", + "importPath": "gismo.startup", + "description": "gismo.startup", + "isExtraImport": true, + "detail": "gismo.startup", + "documentation": {} + }, + { + "label": "Startup", + "importPath": "gismo.startup", + "description": "gismo.startup", + "isExtraImport": true, + "detail": "gismo.startup", + "documentation": {} + }, + { + "label": "ApplicationEnvironment", + "importPath": "cpl_core.environment", + "description": "cpl_core.environment", + "isExtraImport": true, + "detail": "cpl_core.environment", + "documentation": {} + }, + { + "label": "ApplicationEnvironment", + "importPath": "cpl_core.environment", + "description": "cpl_core.environment", + "isExtraImport": true, + "detail": "cpl_core.environment", + "documentation": {} + }, + { + "label": "ApplicationEnvironment", + "importPath": "cpl_core.environment", + "description": "cpl_core.environment", + "isExtraImport": true, + "detail": "cpl_core.environment", + "documentation": {} + }, + { + "label": "ApplicationEnvironmentABC", + "importPath": "cpl_core.environment", + "description": "cpl_core.environment", + "isExtraImport": true, + "detail": "cpl_core.environment", + "documentation": {} + }, + { + "label": "ApplicationEnvironment", + "importPath": "cpl_core.environment", + "description": "cpl_core.environment", + "isExtraImport": true, + "detail": "cpl_core.environment", + "documentation": {} + }, + { + "label": "ApplicationEnvironment", + "importPath": "cpl_core.environment", + "description": "cpl_core.environment", + "isExtraImport": true, + "detail": "cpl_core.environment", + "documentation": {} + }, + { + "label": "LoggerABC", + "importPath": "cpl_core.logging", + "description": "cpl_core.logging", + "isExtraImport": true, + "detail": "cpl_core.logging", + "documentation": {} + }, + { + "label": "LoggerABC", + "importPath": "cpl_core.logging", + "description": "cpl_core.logging", + "isExtraImport": true, + "detail": "cpl_core.logging", + "documentation": {} + }, + { + "label": "LoggerABC", + "importPath": "cpl_core.logging", + "description": "cpl_core.logging", + "isExtraImport": true, + "detail": "cpl_core.logging", + "documentation": {} + }, + { + "label": "LoggerABC", + "importPath": "cpl_core.logging", + "description": "cpl_core.logging", + "isExtraImport": true, + "detail": "cpl_core.logging", + "documentation": {} + }, + { + "label": "LoggerABC", + "importPath": "cpl_core.logging", + "description": "cpl_core.logging", + "isExtraImport": true, + "detail": "cpl_core.logging", + "documentation": {} + }, + { + "label": "LoggingLevelEnum", + "importPath": "cpl_core.logging", + "description": "cpl_core.logging", + "isExtraImport": true, + "detail": "cpl_core.logging", + "documentation": {} + }, + { + "label": "LoggingSettings", + "importPath": "cpl_core.logging", + "description": "cpl_core.logging", + "isExtraImport": true, + "detail": "cpl_core.logging", + "documentation": {} + }, + { + "label": "LoggerABC", + "importPath": "cpl_core.logging", + "description": "cpl_core.logging", + "isExtraImport": true, + "detail": "cpl_core.logging", + "documentation": {} + }, + { + "label": "LoggerABC", + "importPath": "cpl_core.logging", + "description": "cpl_core.logging", + "isExtraImport": true, + "detail": "cpl_core.logging", + "documentation": {} + }, + { + "label": "BotServiceABC", + "importPath": "gismo_core.abc.bot_service_abc", + "description": "gismo_core.abc.bot_service_abc", + "isExtraImport": true, + "detail": "gismo_core.abc.bot_service_abc", + "documentation": {} + }, + { + "label": "BotServiceABC", + "importPath": "gismo_core.abc.bot_service_abc", + "description": "gismo_core.abc.bot_service_abc", + "isExtraImport": true, + "detail": "gismo_core.abc.bot_service_abc", + "documentation": {} + }, + { + "label": "BotServiceABC", + "importPath": "gismo_core.abc.bot_service_abc", + "description": "gismo_core.abc.bot_service_abc", + "isExtraImport": true, + "detail": "gismo_core.abc.bot_service_abc", + "documentation": {} + }, + { + "label": "BotServiceABC", + "importPath": "gismo_core.abc.bot_service_abc", + "description": "gismo_core.abc.bot_service_abc", + "isExtraImport": true, + "detail": "gismo_core.abc.bot_service_abc", + "documentation": {} + }, + { + "label": "BotServiceABC", + "importPath": "gismo_core.abc.bot_service_abc", + "description": "gismo_core.abc.bot_service_abc", + "isExtraImport": true, + "detail": "gismo_core.abc.bot_service_abc", + "documentation": {} + }, + { + "label": "BotService", + "importPath": "gismo_core.service.bot_service", + "description": "gismo_core.service.bot_service", + "isExtraImport": true, + "detail": "gismo_core.service.bot_service", + "documentation": {} + }, + { + "label": "BotService", + "importPath": "gismo_core.service.bot_service", + "description": "gismo_core.service.bot_service", + "isExtraImport": true, + "detail": "gismo_core.service.bot_service", + "documentation": {} + }, + { + "label": "BootLogExtension", + "importPath": "modules.boot_log.boot_log_extension", + "description": "modules.boot_log.boot_log_extension", + "isExtraImport": true, + "detail": "modules.boot_log.boot_log_extension", + "documentation": {} + }, + { + "label": "datetime", + "importPath": "datetime", + "description": "datetime", + "isExtraImport": true, + "detail": "datetime", + "documentation": {} + }, + { + "label": "datetime", + "importPath": "datetime", + "description": "datetime", + "isExtraImport": true, + "detail": "datetime", + "documentation": {} + }, + { + "label": "datetime", + "importPath": "datetime", + "description": "datetime", + "isExtraImport": true, + "detail": "datetime", + "documentation": {} + }, + { + "label": "Optional", + "importPath": "typing", + "description": "typing", + "isExtraImport": true, + "detail": "typing", + "documentation": {} + }, + { + "label": "Union", + "importPath": "typing", + "description": "typing", + "isExtraImport": true, + "detail": "typing", + "documentation": {} + }, + { + "label": "Union", + "importPath": "typing", + "description": "typing", + "isExtraImport": true, + "detail": "typing", + "documentation": {} + }, + { + "label": "MessageServiceABC", + "importPath": "gismo_core.abc.message_service_abc", + "description": "gismo_core.abc.message_service_abc", + "isExtraImport": true, + "detail": "gismo_core.abc.message_service_abc", + "documentation": {} + }, + { + "label": "MessageServiceABC", + "importPath": "gismo_core.abc.message_service_abc", + "description": "gismo_core.abc.message_service_abc", + "isExtraImport": true, + "detail": "gismo_core.abc.message_service_abc", + "documentation": {} + }, + { + "label": "MessageServiceABC", + "importPath": "gismo_core.abc.message_service_abc", + "description": "gismo_core.abc.message_service_abc", + "isExtraImport": true, + "detail": "gismo_core.abc.message_service_abc", + "documentation": {} + }, + { + "label": "MessageService", + "importPath": "gismo_core.service.message_service", + "description": "gismo_core.service.message_service", + "isExtraImport": true, + "detail": "gismo_core.service.message_service", + "documentation": {} + }, + { + "label": "BootLog", + "importPath": "modules.boot_log.boot_log", + "description": "modules.boot_log.boot_log", + "isExtraImport": true, + "detail": "modules.boot_log.boot_log", + "documentation": {} + }, + { + "label": "ModuleABC", + "importPath": "modules_core.abc.module_abc", + "description": "modules_core.abc.module_abc", + "isExtraImport": true, + "detail": "modules_core.abc.module_abc", + "documentation": {} + }, + { + "label": "ModuleABC", + "importPath": "modules_core.abc.module_abc", + "description": "modules_core.abc.module_abc", + "isExtraImport": true, + "detail": "modules_core.abc.module_abc", + "documentation": {} + }, + { + "label": "ModuleABC", + "importPath": "modules_core.abc.module_abc", + "description": "modules_core.abc.module_abc", + "isExtraImport": true, + "detail": "modules_core.abc.module_abc", + "documentation": {} + }, + { + "label": "ModuleServiceABC", + "importPath": "modules_core.abc.module_service_abc", + "description": "modules_core.abc.module_service_abc", + "isExtraImport": true, + "detail": "modules_core.abc.module_service_abc", + "documentation": {} + }, + { + "label": "ModuleServiceABC", + "importPath": "modules_core.abc.module_service_abc", + "description": "modules_core.abc.module_service_abc", + "isExtraImport": true, + "detail": "modules_core.abc.module_service_abc", + "documentation": {} + }, + { + "label": "ModuleServiceABC", + "importPath": "modules_core.abc.module_service_abc", + "description": "modules_core.abc.module_service_abc", + "isExtraImport": true, + "detail": "modules_core.abc.module_service_abc", + "documentation": {} + }, + { + "label": "ModuleService", + "importPath": "modules_core.service.module_service", + "description": "modules_core.service.module_service", + "isExtraImport": true, + "detail": "modules_core.service.module_service", + "documentation": {} + }, + { + "label": "Application", + "importPath": "gismo_cli.application", + "description": "gismo_cli.application", + "isExtraImport": true, + "detail": "gismo_cli.application", + "documentation": {} + }, + { + "label": "Startup", + "importPath": "gismo_cli.startup", + "description": "gismo_cli.startup", + "isExtraImport": true, + "detail": "gismo_cli.startup", + "documentation": {} + }, + { + "label": "ABC", + "importPath": "abc", + "description": "abc", + "isExtraImport": true, + "detail": "abc", + "documentation": {} + }, + { + "label": "abstractmethod", + "importPath": "abc", + "description": "abc", + "isExtraImport": true, + "detail": "abc", + "documentation": {} + }, + { + "label": "ABC", + "importPath": "abc", + "description": "abc", + "isExtraImport": true, + "detail": "abc", + "documentation": {} + }, + { + "label": "abstractmethod", + "importPath": "abc", + "description": "abc", + "isExtraImport": true, + "detail": "abc", + "documentation": {} + }, + { + "label": "ABC", + "importPath": "abc", + "description": "abc", + "isExtraImport": true, + "detail": "abc", + "documentation": {} + }, + { + "label": "abstractmethod", + "importPath": "abc", + "description": "abc", + "isExtraImport": true, + "detail": "abc", + "documentation": {} + }, + { + "label": "ABC", + "importPath": "abc", + "description": "abc", + "isExtraImport": true, + "detail": "abc", + "documentation": {} + }, + { + "label": "abstractmethod", + "importPath": "abc", + "description": "abc", + "isExtraImport": true, + "detail": "abc", + "documentation": {} + }, + { + "label": "discord", + "kind": 6, + "isExtraImport": true, + "importPath": "discord", + "description": "discord", + "detail": "discord", + "documentation": {} + }, + { + "label": "guild", + "importPath": "discord", + "description": "discord", + "isExtraImport": true, + "detail": "discord", + "documentation": {} + }, + { + "label": "commands", + "importPath": "discord.ext", + "description": "discord.ext", + "isExtraImport": true, + "detail": "discord.ext", + "documentation": {} + }, + { + "label": "commands", + "importPath": "discord.ext", + "description": "discord.ext", + "isExtraImport": true, + "detail": "discord.ext", + "documentation": {} + }, + { + "label": "commands", + "importPath": "discord.ext", + "description": "discord.ext", + "isExtraImport": true, + "detail": "discord.ext", + "documentation": {} + }, + { + "label": "List", + "importPath": "cpl_query.extension", + "description": "cpl_query.extension", + "isExtraImport": true, + "detail": "cpl_query.extension", + "documentation": {} + }, + { + "label": "List", + "importPath": "cpl_query.extension", + "description": "cpl_query.extension", + "isExtraImport": true, + "detail": "cpl_query.extension", + "documentation": {} + }, + { + "label": "List", + "importPath": "cpl_query.extension", + "description": "cpl_query.extension", + "isExtraImport": true, + "detail": "cpl_query.extension", + "documentation": {} + }, + { + "label": "List", + "importPath": "cpl_query.extension", + "description": "cpl_query.extension", + "isExtraImport": true, + "detail": "cpl_query.extension", + "documentation": {} + }, + { + "label": "List", + "importPath": "cpl_query.extension", + "description": "cpl_query.extension", + "isExtraImport": true, + "detail": "cpl_query.extension", + "documentation": {} + }, + { + "label": "Context", + "importPath": "discord.ext.commands", + "description": "discord.ext.commands", + "isExtraImport": true, + "detail": "discord.ext.commands", + "documentation": {} + }, + { + "label": "Context", + "importPath": "discord.ext.commands", + "description": "discord.ext.commands", + "isExtraImport": true, + "detail": "discord.ext.commands", + "documentation": {} + }, + { + "label": "traceback", + "kind": 6, + "isExtraImport": true, + "importPath": "traceback", + "description": "traceback", + "detail": "traceback", + "documentation": {} + }, + { + "label": "ServerSettings", + "importPath": "gismo_core.configuration.server_settings", + "description": "gismo_core.configuration.server_settings", + "isExtraImport": true, + "detail": "gismo_core.configuration.server_settings", + "documentation": {} + }, + { + "label": "ServerSettings", + "importPath": "gismo_core.configuration.server_settings", + "description": "gismo_core.configuration.server_settings", + "isExtraImport": true, + "detail": "gismo_core.configuration.server_settings", + "documentation": {} + }, + { + "label": "ServerSettings", + "importPath": "gismo_core.configuration.server_settings", + "description": "gismo_core.configuration.server_settings", + "isExtraImport": true, + "detail": "gismo_core.configuration.server_settings", + "documentation": {} + }, + { + "label": "ServerSettings", + "importPath": "gismo_core.configuration.server_settings", + "description": "gismo_core.configuration.server_settings", + "isExtraImport": true, + "detail": "gismo_core.configuration.server_settings", + "documentation": {} + }, + { + "label": "ConfigurationModelABC", + "importPath": "cpl_core.configuration.configuration_model_abc", + "description": "cpl_core.configuration.configuration_model_abc", + "isExtraImport": true, + "detail": "cpl_core.configuration.configuration_model_abc", + "documentation": {} + }, + { + "label": "BotSettings", + "importPath": "gismo_core.configuration.bot_settings", + "description": "gismo_core.configuration.bot_settings", + "isExtraImport": true, + "detail": "gismo_core.configuration.bot_settings", + "documentation": {} + }, + { + "label": "DiscordSettings", + "importPath": "gismo_core.configuration.discord_settings", + "description": "gismo_core.configuration.discord_settings", + "isExtraImport": true, + "detail": "gismo_core.configuration.discord_settings", + "documentation": {} + }, + { + "label": "ConfigurationABC", + "importPath": "cpl_core.configuration.configuration_abc", + "description": "cpl_core.configuration.configuration_abc", + "isExtraImport": true, + "detail": "cpl_core.configuration.configuration_abc", + "documentation": {} + }, + { + "label": "ApplicationExtensionABC", + "importPath": "cpl_core.application.application_extension_abc", + "description": "cpl_core.application.application_extension_abc", + "isExtraImport": true, + "detail": "cpl_core.application.application_extension_abc", + "documentation": {} + }, + { + "label": "EventsEnum", + "importPath": "modules_core.events_enum", + "description": "modules_core.events_enum", + "isExtraImport": true, + "detail": "modules_core.events_enum", + "documentation": {} + }, + { + "label": "EventsEnum", + "importPath": "modules_core.events_enum", + "description": "modules_core.events_enum", + "isExtraImport": true, + "detail": "modules_core.events_enum", + "documentation": {} + }, + { + "label": "Enum", + "importPath": "enum", + "description": "enum", + "isExtraImport": true, + "detail": "enum", + "documentation": {} + }, + { + "label": "json", + "kind": 6, + "isExtraImport": true, + "importPath": "json", + "description": "json", + "detail": "json", + "documentation": {} + }, + { + "label": "Application", + "importPath": "level_generator.application", + "description": "level_generator.application", + "isExtraImport": true, + "detail": "level_generator.application", + "documentation": {} + }, + { + "label": "Startup", + "importPath": "level_generator.startup", + "description": "level_generator.startup", + "isExtraImport": true, + "detail": "level_generator.startup", + "documentation": {} + }, + { + "label": "Application", + "importPath": "ontime_calculator.application", + "description": "ontime_calculator.application", + "isExtraImport": true, + "detail": "ontime_calculator.application", + "documentation": {} + }, + { + "label": "Startup", + "importPath": "ontime_calculator.startup", + "description": "ontime_calculator.startup", + "isExtraImport": true, + "detail": "ontime_calculator.startup", + "documentation": {} + }, + { + "label": "Application", + "kind": 6, + "importPath": "dist.gismo.build.gismo.application", + "description": "dist.gismo.build.gismo.application", + "peekOfCode": "class Application(ApplicationABC):\n def __init__(self, config: ConfigurationABC, services: ServiceProviderABC):\n ApplicationABC.__init__(self, config, services)\n async def configure(self):\n pass\n async def main(self):\n Console.write_line('Hello World')", + "detail": "dist.gismo.build.gismo.application", + "documentation": {} + }, + { + "label": "Startup", + "kind": 6, + "importPath": "dist.gismo.build.gismo.startup", + "description": "dist.gismo.build.gismo.startup", + "peekOfCode": "class Startup(StartupABC):\n def __init__(self):\n StartupABC.__init__(self)\n async def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironment) -> ConfigurationABC:\n return configuration\n async def configure_services(self, services: ServiceCollectionABC, environment: ApplicationEnvironment) -> ServiceProviderABC:\n return services.build_service_provider()", + "detail": "dist.gismo.build.gismo.startup", + "documentation": {} + }, + { + "label": "configure_configuration", + "kind": 2, + "importPath": "dist.gismo.build.modules.boot_log.main", + "description": "dist.gismo.build.modules.boot_log.main", + "peekOfCode": "def configure_configuration() -> ConfigurationABC:\n config = Configuration()\n return config\ndef configure_services(config: ConfigurationABC) -> ServiceProviderABC:\n services = ServiceCollection(config)\n return services.build_service_provider()\ndef main():\n config = configure_configuration()\n provider = configure_services(config)\n Console.write_line('Hello World')", + "detail": "dist.gismo.build.modules.boot_log.main", + "documentation": {} + }, + { + "label": "configure_services", + "kind": 2, + "importPath": "dist.gismo.build.modules.boot_log.main", + "description": "dist.gismo.build.modules.boot_log.main", + "peekOfCode": "def configure_services(config: ConfigurationABC) -> ServiceProviderABC:\n services = ServiceCollection(config)\n return services.build_service_provider()\ndef main():\n config = configure_configuration()\n provider = configure_services(config)\n Console.write_line('Hello World')\nif __name__ == '__main__':\n main()", + "detail": "dist.gismo.build.modules.boot_log.main", + "documentation": {} + }, + { + "label": "main", + "kind": 2, + "importPath": "dist.gismo.build.modules.boot_log.main", + "description": "dist.gismo.build.modules.boot_log.main", + "peekOfCode": "def main():\n config = configure_configuration()\n provider = configure_services(config)\n Console.write_line('Hello World')\nif __name__ == '__main__':\n main()", + "detail": "dist.gismo.build.modules.boot_log.main", + "documentation": {} + }, + { + "label": "Application", + "kind": 6, + "importPath": "src.gismo.application", + "description": "src.gismo.application", + "peekOfCode": "class Application(ApplicationABC):\n def __init__(self, config: ConfigurationABC, services: ServiceProviderABC):\n ApplicationABC.__init__(self, config, services)\n self._bot: BotService = services.get_service(BotServiceABC)\n self._logger: LoggerABC = services.get_service(LoggerABC)\n async def configure(self):\n pass\n async def main(self):\n try:\n self._logger.trace(__name__, f'Try to start {BotService}')", + "detail": "src.gismo.application", + "documentation": {} + }, + { + "label": "Startup", + "kind": 6, + "importPath": "src.gismo.startup", + "description": "src.gismo.startup", + "peekOfCode": "class Startup(StartupABC):\n def __init__(self):\n StartupABC.__init__(self)\n self._start_time = datetime.now()\n self._config: Optional[ConfigurationABC] = None\n async def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironment) -> ConfigurationABC:\n configuration.add_environment_variables('GISMO_')\n configuration.add_json_file(f'appsettings.json', optional=False)\n configuration.add_json_file(f'appsettings.{environment.environment_name}.json', optional=True)\n configuration.add_json_file(f'appsettings.{environment.host_name}.json', optional=True)", + "detail": "src.gismo.startup", + "documentation": {} + }, + { + "label": "Application", + "kind": 6, + "importPath": "src.gismo_cli.application", + "description": "src.gismo_cli.application", + "peekOfCode": "class Application(ApplicationABC):\n def __init__(self, config: ConfigurationABC, services: ServiceProviderABC):\n ApplicationABC.__init__(self, config, services)\n async def configure(self):\n pass\n async def main(self):\n Console.write_line('Hello World')", + "detail": "src.gismo_cli.application", + "documentation": {} + }, + { + "label": "Startup", + "kind": 6, + "importPath": "src.gismo_cli.startup", + "description": "src.gismo_cli.startup", + "peekOfCode": "class Startup(StartupABC):\n def __init__(self):\n StartupABC.__init__(self)\n async def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironment) -> ConfigurationABC:\n return configuration\n async def configure_services(self, services: ServiceCollectionABC, environment: ApplicationEnvironment) -> ServiceProviderABC:\n return services.build_service_provider()", + "detail": "src.gismo_cli.startup", + "documentation": {} + }, + { + "label": "BotServiceABC", + "kind": 6, + "importPath": "src.gismo_core.abc.bot_service_abc", + "description": "src.gismo_core.abc.bot_service_abc", + "peekOfCode": "class BotServiceABC(ABC, commands.Bot):\n @abstractmethod\n def __init__(self): pass\n @abstractmethod\n async def start_async(self): pass\n @abstractmethod\n async def stop_async(self): pass\n @abstractmethod\n async def on_message(self, message: discord.Message): pass", + "detail": "src.gismo_core.abc.bot_service_abc", + "documentation": {} + }, + { + "label": "MessageServiceABC", + "kind": 6, + "importPath": "src.gismo_core.abc.message_service_abc", + "description": "src.gismo_core.abc.message_service_abc", + "peekOfCode": "class MessageServiceABC(ABC):\n @abstractmethod\n def __init__(self): pass\n @abstractmethod\n async def delete_messages(self, messages: List[discord.Message]): pass\n @abstractmethod\n async def delete_message(self, message: discord.Message): pass\n @abstractmethod\n async def send_channel_message(self, channel: discord.TextChannel, message: str): pass\n @abstractmethod", + "detail": "src.gismo_core.abc.message_service_abc", + "documentation": {} + }, + { + "label": "BotSettings", + "kind": 6, + "importPath": "src.gismo_core.configuration.bot_settings", + "description": "src.gismo_core.configuration.bot_settings", + "peekOfCode": "class BotSettings(ConfigurationModelABC):\n def __init__(self):\n ConfigurationModelABC.__init__(self)\n self._prefix: str = ''\n self._servers: List[ServerSettings] = List()\n @property\n def prefix(self) -> str:\n return self._prefix\n @property\n def servers(self) -> List[ServerSettings]:", + "detail": "src.gismo_core.configuration.bot_settings", + "documentation": {} + }, + { + "label": "DiscordSettings", + "kind": 6, + "importPath": "src.gismo_core.configuration.discord_settings", + "description": "src.gismo_core.configuration.discord_settings", + "peekOfCode": "class DiscordSettings(ConfigurationModelABC):\n def __init__(self):\n ConfigurationModelABC.__init__(self)\n self._token: str = ''\n @property\n def token(self) -> str:\n return self._token\n def from_dict(self, settings: dict):\n try:\n self._token = settings['Token']", + "detail": "src.gismo_core.configuration.discord_settings", + "documentation": {} + }, + { + "label": "ServerSettings", + "kind": 6, + "importPath": "src.gismo_core.configuration.server_settings", + "description": "src.gismo_core.configuration.server_settings", + "peekOfCode": "class ServerSettings(ConfigurationModelABC):\n def __init__(self):\n ConfigurationModelABC.__init__(self)\n self._id: int = 0\n self._message_delete_timer: int = 0\n self._login_message_channel_id: int = 0\n self._login_message: str = ''\n @property\n def id(self) -> str:\n return self._id", + "detail": "src.gismo_core.configuration.server_settings", + "documentation": {} + }, + { + "label": "BotService", + "kind": 6, + "importPath": "src.gismo_core.service.bot_service", + "description": "src.gismo_core.service.bot_service", + "peekOfCode": "class BotService(BotServiceABC, commands.Bot):\n def __init__(self, config: ConfigurationABC, logger: LoggerABC, modules: ModuleServiceABC, discord_settings: DiscordSettings, bot_settings: BotSettings):\n # services\n self._config = config\n self._logger = logger\n self._modules = modules\n # settings\n self._discord_settings = discord_settings\n self._bot_settings: BotSettings = bot_settings\n # setup super", + "detail": "src.gismo_core.service.bot_service", + "documentation": {} + }, + { + "label": "MessageService", + "kind": 6, + "importPath": "src.gismo_core.service.message_service", + "description": "src.gismo_core.service.message_service", + "peekOfCode": "class MessageService(MessageServiceABC):\n def __init__(self, config: ConfigurationABC, logger: LoggerABC, bot: BotServiceABC):\n self._config = config\n self._logger = logger\n self._bot = bot\n async def delete_messages(self, messages: List[discord.Message]): \n self._logger.debug(__name__, f'Try to delete {messages.count()} messages')\n for message in messages:\n await self.delete_message(message)\n self._logger.debug(__name__, 'Deleting messages finished')", + "detail": "src.gismo_core.service.message_service", + "documentation": {} + }, + { + "label": "BootLog", + "kind": 6, + "importPath": "src.modules.boot_log.boot_log", + "description": "src.modules.boot_log.boot_log", + "peekOfCode": "class BootLog(ModuleABC):\n def __init__(\n self,\n config: ConfigurationABC,\n logging_st: LoggingSettings,\n logger: LoggerABC,\n bot: BotServiceABC,\n message_service: MessageServiceABC\n ):\n self._config = config", + "detail": "src.modules.boot_log.boot_log", + "documentation": {} + }, + { + "label": "BootLogExtension", + "kind": 6, + "importPath": "src.modules.boot_log.boot_log_extension", + "description": "src.modules.boot_log.boot_log_extension", + "peekOfCode": "class BootLogExtension(ApplicationExtensionABC):\n def __init__(self):\n pass\n async def run(self, config: ConfigurationABC, services: ServiceProviderABC):\n logger: LoggerABC = services.get_service(LoggerABC)\n logger.debug(__name__, 'BootLog extension started')\n config.add_configuration('Bot_StartTime', datetime.now())", + "detail": "src.modules.boot_log.boot_log_extension", + "documentation": {} + }, + { + "label": "ModuleABC", + "kind": 6, + "importPath": "src.modules_core.abc.module_abc", + "description": "src.modules_core.abc.module_abc", + "peekOfCode": "class ModuleABC(ABC):\n @abstractmethod\n def __init__(self): pass\n # @property\n # @abstractmethod\n # def events(self) -> List[EventsEnum]: pass", + "detail": "src.modules_core.abc.module_abc", + "documentation": {} + }, + { + "label": "ModuleServiceABC", + "kind": 6, + "importPath": "src.modules_core.abc.module_service_abc", + "description": "src.modules_core.abc.module_service_abc", + "peekOfCode": "class ModuleServiceABC(ABC):\n @abstractmethod\n def __init__(self): pass\n @abstractmethod\n async def on_ready(self): pass\n @abstractmethod\n async def on_message(self, message: discord.Message): pass", + "detail": "src.modules_core.abc.module_service_abc", + "documentation": {} + }, + { + "label": "ModuleService", + "kind": 6, + "importPath": "src.modules_core.service.module_service", + "description": "src.modules_core.service.module_service", + "peekOfCode": "class ModuleService(ModuleServiceABC):\n def __init__(self, logger: LoggerABC, services: ServiceProviderABC, env: ApplicationEnvironmentABC):\n self._logger = logger\n self._services = services\n self._env = env\n self._modules: List[ModuleABC] = List()\n self._modules.extend(ModuleABC.__subclasses__())\n async def on_ready(self):\n self._logger.debug(__name__, 'Start on_ready modules')\n modules = self._modules.where(lambda m: hasattr(m, EventsEnum.on_ready.value) and callable(m.on_ready))", + "detail": "src.modules_core.service.module_service", + "documentation": {} + }, + { + "label": "EventsEnum", + "kind": 6, + "importPath": "src.modules_core.events_enum", + "description": "src.modules_core.events_enum", + "peekOfCode": "class EventsEnum(Enum):\n on_ready = 'on_ready'", + "detail": "src.modules_core.events_enum", + "documentation": {} + }, + { + "label": "Application", + "kind": 6, + "importPath": "tools.level_generator.application", + "description": "tools.level_generator.application", + "peekOfCode": "class Application(ApplicationABC):\n def __init__(self, config: ConfigurationABC, services: ServiceProviderABC):\n ApplicationABC.__init__(self, config, services)\n def configure(self):\n pass\n def main(self):\n f = open(\"./Levels.txt\", \"r\", encoding='utf-8')\n i = 0\n lines = f.readlines()\n json_list = []", + "detail": "tools.level_generator.application", + "documentation": {} + }, + { + "label": "main", + "kind": 2, + "importPath": "tools.level_generator.main", + "description": "tools.level_generator.main", + "peekOfCode": "def main():\n app_builder = ApplicationBuilder(Application)\n app_builder.use_startup(Startup)\n app_builder.build().run()\nif __name__ == '__main__':\n main()", + "detail": "tools.level_generator.main", + "documentation": {} + }, + { + "label": "Startup", + "kind": 6, + "importPath": "tools.level_generator.startup", + "description": "tools.level_generator.startup", + "peekOfCode": "class Startup(StartupABC):\n def __init__(self):\n StartupABC.__init__(self)\n def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironment) -> ConfigurationABC:\n return configuration\n def configure_services(self, services: ServiceCollectionABC, environment: ApplicationEnvironment) -> ServiceProviderABC:\n return services.build_service_provider()", + "detail": "tools.level_generator.startup", + "documentation": {} + }, + { + "label": "Application", + "kind": 6, + "importPath": "tools.ontime_calculator.application", + "description": "tools.ontime_calculator.application", + "peekOfCode": "class Application(ApplicationABC):\n def __init__(self, config: ConfigurationABC, services: ServiceProviderABC):\n ApplicationABC.__init__(self, config, services)\n def configure(self):\n pass\n def main(self):\n ontime = 0\n mc = 0\n for i in range(0, 31):\n Console.write_line(f'i: {i} {ontime} {mc}')", + "detail": "tools.ontime_calculator.application", + "documentation": {} + }, + { + "label": "main", + "kind": 2, + "importPath": "tools.ontime_calculator.main", + "description": "tools.ontime_calculator.main", + "peekOfCode": "def main():\n app_builder = ApplicationBuilder(Application)\n app_builder.use_startup(Startup)\n app_builder.build().run()\nif __name__ == '__main__':\n main()", + "detail": "tools.ontime_calculator.main", + "documentation": {} + }, + { + "label": "Startup", + "kind": 6, + "importPath": "tools.ontime_calculator.startup", + "description": "tools.ontime_calculator.startup", + "peekOfCode": "class Startup(StartupABC):\n def __init__(self):\n StartupABC.__init__(self)\n def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironment) -> ConfigurationABC:\n return configuration\n def configure_services(self, services: ServiceCollectionABC, environment: ApplicationEnvironment) -> ServiceProviderABC:\n return services.build_service_provider()", + "detail": "tools.ontime_calculator.startup", + "documentation": {} + } +] \ No newline at end of file diff --git a/scripts/start.sh b/scripts/start.sh new file mode 100755 index 0000000..cc95535 --- /dev/null +++ b/scripts/start.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +export GISMO_ENVIRONMENT=development +cpl start \ No newline at end of file