team-bot/tests/test_cli.py

12 lines
413 B
Python
Raw Normal View History

2023-10-07 08:09:55 +00:00
def test_help(cmd):
cmd.run_ok(
[],
"""
Usage: teams-bot [OPTIONS] COMMAND [ARGS]...
* -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
)