diff --git a/argenta/app/__init__.py b/argenta/app/__init__.py index 145d061..80bb821 100644 --- a/argenta/app/__init__.py +++ b/argenta/app/__init__.py @@ -1 +1,3 @@ +__all__ = ["App"] + from .entity import App diff --git a/argenta/app/entity.py b/argenta/app/entity.py index 0107120..1222d3b 100644 --- a/argenta/app/entity.py +++ b/argenta/app/entity.py @@ -51,7 +51,7 @@ class App: self._registered_routers: RegisteredRouters = RegisteredRouters() self._invalid_input_flags_handler: Callable[[str], None] = lambda raw_command: print_func(f'Incorrect flag syntax: "{raw_command}"') self._repeated_input_flags_handler: Callable[[str], None] = lambda raw_command: print_func(f'Repeated input flags: "{raw_command}"') - self._empty_input_command_handler: Callable[[], None] = lambda: print_func(f'Empty input command') + self._empty_input_command_handler: Callable[[], None] = lambda: print_func('Empty input command') self._unknown_command_handler: Callable[[Command], None] = lambda command: print_func(f"Unknown command: {command.get_trigger()}") self._exit_command_handler: Callable[[], None] = lambda: print_func(self.farewell_message) diff --git a/argenta/command/__init__.py b/argenta/command/__init__.py index 5b4073f..82d390d 100644 --- a/argenta/command/__init__.py +++ b/argenta/command/__init__.py @@ -1 +1,3 @@ +__all__ = ["Command"] + from .entity import Command \ No newline at end of file diff --git a/argenta/command/flag/__init__.py b/argenta/command/flag/__init__.py index d437340..ea25fbd 100644 --- a/argenta/command/flag/__init__.py +++ b/argenta/command/flag/__init__.py @@ -1,2 +1,5 @@ +__all__ = ["Flag", "FlagsGroup"] + + from .entity import Flag from .flags_group.entity import FlagsGroup \ No newline at end of file diff --git a/argenta/command/flag/flags_group/__init__.py b/argenta/command/flag/flags_group/__init__.py index 175b019..81092c9 100644 --- a/argenta/command/flag/flags_group/__init__.py +++ b/argenta/command/flag/flags_group/__init__.py @@ -1 +1,4 @@ +__all__ = ["FlagsGroup"] + + from .entity import FlagsGroup \ No newline at end of file diff --git a/argenta/router/__init__.py b/argenta/router/__init__.py index 04c1a36..d716f22 100644 --- a/argenta/router/__init__.py +++ b/argenta/router/__init__.py @@ -1 +1,4 @@ +__all__ = ["Router"] + + from .entity import Router \ No newline at end of file