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:
parent
ee45ec1ffd
commit
ded6ec98bc
@ -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()}')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user