Added logic to add CLI commands from external packages

This commit is contained in:
2022-05-22 18:32:34 +02:00
parent d11c56db03
commit dec4a45d98
8 changed files with 114 additions and 57 deletions

View File

@@ -141,12 +141,16 @@ class ConfigurationABC(ABC):
pass
@abstractmethod
def parse_console_arguments(self, services: 'ServiceProviderABC', error: bool = None):
def parse_console_arguments(self, services: 'ServiceProviderABC', error: bool = None) -> bool:
r"""Reads the console arguments
Parameter
---------
error: :class:`bool`
Defines is invalid argument error will be shown or not
Returns
-------
Bool to specify if executables were executed or not.
"""
pass