team-bot/tests/test_cli.py

12 lines
412 B
Python
Raw Permalink Normal View History

2023-10-07 08:09:55 +00:00
def test_help(cmd):
cmd.run_ok(
[],
"""
2024-02-03 16:21:58 +00:00
Usage: team-bot [OPTIONS] COMMAND [ARGS]...
2023-10-07 08:09:55 +00:00
* -h, --help Show this message and exit.
2023-10-09 15:07:58 +00:00
* init Scan a QR code to create a crew and join it
* run Run the bot, so it relays messages from and to the outside
* verify-crypto Show a QR code to verify the encryption with the bot
2023-10-07 08:12:30 +00:00
""",
2023-10-07 08:09:55 +00:00
)