mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
0.5.0-alpha: support autocomplete, aliases for command, fix many bugs and other
This commit is contained in:
@@ -15,7 +15,7 @@ from argenta.router.exceptions import (RepeatedFlagNameException,
|
||||
|
||||
class Router:
|
||||
def __init__(self,
|
||||
title: str = 'Commands group title:',
|
||||
title: str = None,
|
||||
name: str = 'Default'):
|
||||
self._title = title
|
||||
self._name = name
|
||||
@@ -125,7 +125,7 @@ class Router:
|
||||
return self._name
|
||||
|
||||
|
||||
def get_title(self) -> str:
|
||||
def get_title(self) -> str | None:
|
||||
return self._title
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user