@@ -359,10 +359,11 @@ async def send_image(ctx, **arguments):
359
359
360
360
361
361
@cli .command (short_help = 'Send a video using end-to-end mode.' , help = """
362
- Encrypt and send a video ('mp4') including a thumbnail to the given ID.
363
- FROM is the API identity and SECRET is the API secret.
364
- VIDEO_PATH is a relative or absolute path to a video.
365
- THUMBNAIL_PATH is a relative or absolute path to a thumbnail.
362
+ Encrypt and send a video ('mp4') including a thumbnail to the given ID. FROM is
363
+ the API identity and SECRET is the API secret. VIDEO_PATH is a relative or
364
+ absolute path to a video. THUMBNAIL_PATH is a relative or absolute path to a
365
+ thumbnail.
366
+
366
367
Prints the message ID on success.
367
368
""" )
368
369
@click .argument ('to' )
@@ -411,9 +412,10 @@ async def send_video(ctx, **arguments):
411
412
412
413
413
414
@cli .command (short_help = 'Send a file using end-to-end mode.' , help = """
414
- Encrypt and send a file to the given ID, optionally with a thumbnail and/ or caption.
415
- FROM is the API identity and SECRET is the API secret.
416
- FILE_PATH is a relative or absolute path to a file.
415
+ Encrypt and send a file to the given ID, optionally with a thumbnail and/ or
416
+ caption. FROM is the API identity and SECRET is the API secret. FILE_PATH is a
417
+ relative or absolute path to a file.
418
+
417
419
Prints the message ID on success.
418
420
""" )
419
421
@click .argument ('to' )
@@ -464,9 +466,9 @@ async def send_file(ctx, **arguments):
464
466
465
467
466
468
@cli .command (short_help = 'Lookup a Threema ID or the public key.' , help = """
467
- Lookup the public key of the Threema ID or the ID linked to either the
468
- given email address or the given phone number.
469
- FROM is the API identity and SECRET is the API secret.
469
+ Lookup the public key of the Threema ID or the ID linked to either the given
470
+ email address or the given phone number. FROM is the API identity and SECRET is
471
+ the API secret.
470
472
""" )
471
473
@click .argument ('from' )
472
474
@click .argument ('secret' )
@@ -497,8 +499,9 @@ async def lookup(ctx, **arguments):
497
499
498
500
499
501
@cli .command (short_help = 'Lookup the reception capabilities of a Threema ID' , help = """
500
- Lookup the reception capabilities of a Threema ID.
501
- FROM is the API identity and SECRET is the API secret.
502
+ Lookup the reception capabilities of a Threema ID. FROM is the API identity and
503
+ SECRET is the API secret.
504
+
502
505
Prints a set of capabilities in alphabetical order on success.
503
506
""" )
504
507
@click .argument ('from' )
@@ -518,8 +521,8 @@ async def capabilities(ctx, **arguments):
518
521
519
522
# noinspection PyShadowingBuiltins
520
523
@cli .command (short_help = 'Get the number of credits left on the account' , help = """
521
- Retrieve the number of credits left on the used account.
522
- FROM is the API identity and SECRET is the API secret.
524
+ Retrieve the number of credits left on the used account. FROM is the API
525
+ identity and SECRET is the API secret.
523
526
""" )
524
527
@click .argument ('from' )
525
528
@click .argument ('secret' )
0 commit comments