some fix and final refactor in readme

This commit is contained in:
2025-04-04 01:43:59 +03:00
parent 7540728f1b
commit ae9795bd53
6 changed files with 172 additions and 87 deletions
-5
View File
@@ -151,9 +151,6 @@ class App(BaseApp):
self._print_func(self._line_separate)
self._error_handler(error, raw_command)
self._print_func(self._line_separate)
if not self._repeat_command_groups_description:
self._print_func(self._prompt)
continue
if self._is_exit_command(input_command):
@@ -163,8 +160,6 @@ class App(BaseApp):
if self._is_unknown_command(input_command):
self._print_func(self._line_separate)
if not self._repeat_command_groups_description:
self._print_func(self._prompt)
continue
for registered_router in self._registered_routers:
+1 -1
View File
@@ -27,7 +27,7 @@ class InputFlag(BaseFlag):
super().__init__(name, prefix)
self._flag_value = value
def get_value(self):
def get_value(self) -> str | None:
return self._flag_value
def set_value(self, value):