logging fixes

This commit is contained in:
Zsolt Ero
2024-09-12 04:12:13 +02:00
parent fb75f214d1
commit 1a5fa5b208
4 changed files with 8 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env python3
from datetime import datetime, timezone
import click
from http_host_lib.assets import (
@@ -14,6 +15,9 @@ from http_host_lib.sync import auto_clean_btrfs, full_sync
from http_host_lib.versions import fetch_version_files
now = datetime.now(timezone.utc)
@click.group()
def cli():
"""
@@ -96,6 +100,8 @@ def sync(force):
On a new server this also takes care of everything, no need to run anything manually.
"""
print(f'---\n{now}\nrunning full_sync')
full_sync(force)