mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
some fix
This commit is contained in:
@@ -43,7 +43,7 @@ class Flag(BaseFlag):
|
|||||||
self,
|
self,
|
||||||
name: str,
|
name: str,
|
||||||
prefix: Literal["-", "--", "---"] = "--",
|
prefix: Literal["-", "--", "---"] = "--",
|
||||||
possible_values: list[str] | Pattern[str] | False = True,
|
possible_values: list[str] | Pattern[str] | bool = True,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""
|
"""
|
||||||
Public. The entity of the flag being registered for subsequent processing
|
Public. The entity of the flag being registered for subsequent processing
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ class Router:
|
|||||||
)
|
)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _validate_command(command: Command | str) -> None:
|
def _validate_command(command: Command) -> None:
|
||||||
"""
|
"""
|
||||||
Private. Validates the command registered in handler
|
Private. Validates the command registered in handler
|
||||||
:param command: validated command
|
:param command: validated command
|
||||||
|
|||||||
Reference in New Issue
Block a user