1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-22 15:06:05 +01:00

Added toot version number to diag output

This commit is contained in:
Daniel Schwarz 2024-06-18 17:18:36 -04:00
parent ee45ec1ffd
commit ded6ec98bc

View File

@ -323,6 +323,9 @@ def print_diags():
now = datetime.now(timezone.utc)
click.echo(f'{green("Current Date/Time:")} {now.strftime("%Y-%m-%d %H:%M:%S %Z")}')
from toot import __version__, config, settings
click.echo(f'{green(f"Toot version:")} {__version__}')
import platform
click.echo(f'{green(f"Platform:")} {platform.platform()}')