Help with list command discovery

pull/452/head 0.40.0
Ivan Habunek 2023-12-27 10:16:19 +01:00
rodzic 556741e864
commit 41b77cc9de
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F5F0623FF5EBCB3D
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -11,7 +11,8 @@ from toot.output import print_list_accounts, print_lists, print_warning
def lists(ctx: click.Context):
"""Display and manage lists"""
if ctx.invoked_subcommand is None:
print_warning("`toot lists` is deprecated in favour of `toot lists list`")
print_warning("`toot lists` is deprecated in favour of `toot lists list`.\n" +
"Run `toot lists -h` to see other list-related commands.")
user, app = config.get_active_user_app()
if not user or not app: