argenta 0.5.0b0__tar.gz → 0.5.0b2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {argenta-0.5.0b0 → argenta-0.5.0b2}/PKG-INFO +1 -3
- {argenta-0.5.0b0 → argenta-0.5.0b2}/README.md +0 -2
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/app/exceptions.py +0 -5
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/app/models.py +2 -5
- {argenta-0.5.0b0 → argenta-0.5.0b2}/pyproject.toml +1 -1
- {argenta-0.5.0b0 → argenta-0.5.0b2}/LICENSE +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/__init__.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/app/__init__.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/app/autocompleter/__init__.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/app/autocompleter/entity.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/app/defaults.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/app/dividing_line/__init__.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/app/dividing_line/models.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/app/registered_routers/__init__.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/app/registered_routers/entity.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/command/__init__.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/command/exceptions.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/command/flag/__init__.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/command/flag/defaults.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/command/flag/models.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/command/models.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/router/__init__.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/router/command_handler/__init__.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/router/command_handler/entity.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/router/command_handlers/__init__.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/router/command_handlers/entity.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/router/defaults.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/router/entity.py +0 -0
- {argenta-0.5.0b0 → argenta-0.5.0b2}/argenta/router/exceptions.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: argenta
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.0b2
|
4
4
|
Summary: Python library for creating TUI
|
5
5
|
License: MIT
|
6
6
|
Author: kolo
|
@@ -15,8 +15,6 @@ Requires-Dist: art (>=6.4,<7.0)
|
|
15
15
|
Requires-Dist: rich (>=14.0.0,<15.0.0)
|
16
16
|
Description-Content-Type: text/markdown
|
17
17
|
|
18
|
-
from argenta.app.autocompleter import AutoCompleter
|
19
|
-
|
20
18
|
# Argenta
|
21
19
|
|
22
20
|
---
|
@@ -15,8 +15,7 @@ from argenta.command.exceptions import (UnprocessedInputFlagException,
|
|
15
15
|
RepeatedInputFlagsException,
|
16
16
|
EmptyInputCommandException,
|
17
17
|
BaseInputCommandException)
|
18
|
-
from argenta.app.exceptions import (
|
19
|
-
NoRegisteredRoutersException,
|
18
|
+
from argenta.app.exceptions import (NoRegisteredRoutersException,
|
20
19
|
NoRegisteredHandlersException)
|
21
20
|
from argenta.app.registered_routers.entity import RegisteredRouters
|
22
21
|
|
@@ -201,6 +200,7 @@ class AppSetups(AppValidators, AppPrinters):
|
|
201
200
|
|
202
201
|
for message in self._messages_on_startup:
|
203
202
|
self._print_func(message)
|
203
|
+
print('\n\n')
|
204
204
|
|
205
205
|
if not self._repeat_command_groups_description:
|
206
206
|
self._print_command_group_description()
|
@@ -253,9 +253,6 @@ class App(AppSetters, AppNonStandardHandlers, AppSetups):
|
|
253
253
|
|
254
254
|
|
255
255
|
def include_router(self, router: Router) -> None:
|
256
|
-
if not isinstance(router, Router):
|
257
|
-
raise InvalidRouterInstanceException()
|
258
|
-
|
259
256
|
router.set_ignore_command_register(self._ignore_command_register)
|
260
257
|
self._registered_routers.add_registered_router(router)
|
261
258
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|