Show description with some spacing

Looks nicer
This commit is contained in:
Ivan Habunek 2024-08-30 13:34:08 +02:00
parent dc99ee51bc
commit 7dae0e23cf
No known key found for this signature in database
GPG Key ID: 01DB3DD0D824504C

View File

@ -108,11 +108,12 @@ def print_video(video: Video):
if channel or playing: if channel or playing:
click.echo(" ".join([channel, playing])) click.echo(" ".join([channel, playing]))
if video["description"]:
click.echo(f"Description: {video['description']}")
click.echo(f"Published {blue(published_at)} Length: {blue(length)} ") click.echo(f"Published {blue(published_at)} Length: {blue(length)} ")
click.secho(url, italic=True) click.secho(url, italic=True)
if video["description"]:
click.echo(f"\nDescription:\n{video['description']}")
click.echo() click.echo()