mirror of
https://github.com/ihabunek/toot
synced 2025-01-11 00:53:49 +01:00
Help with list command discovery
This commit is contained in:
parent
556741e864
commit
41b77cc9de
@ -11,7 +11,8 @@ from toot.output import print_list_accounts, print_lists, print_warning
|
|||||||
def lists(ctx: click.Context):
|
def lists(ctx: click.Context):
|
||||||
"""Display and manage lists"""
|
"""Display and manage lists"""
|
||||||
if ctx.invoked_subcommand is None:
|
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()
|
user, app = config.get_active_user_app()
|
||||||
if not user or not app:
|
if not user or not app:
|
||||||
|
Loading…
Reference in New Issue
Block a user