From cb26ac6fa2460c39278a5342e81895366ace6476 Mon Sep 17 00:00:00 2001 From: Andy Date: Sun, 20 Jul 2025 15:45:50 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20Update=20version=20display?= =?UTF-8?q?=20in=20main.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Changed the version display in `__main__.py` to include copyright information. --- Dockerfile | 2 +- unshackle/core/__main__.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 56be9c7..97a67f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,4 +75,4 @@ RUN uv sync --frozen --no-dev # Set entrypoint to allow passing commands directly to unshackle ENTRYPOINT ["uv", "run", "unshackle"] -CMD ["-h"] \ No newline at end of file +CMD ["-h"] diff --git a/unshackle/core/__main__.py b/unshackle/core/__main__.py index eb1b182..63f7fa4 100644 --- a/unshackle/core/__main__.py +++ b/unshackle/core/__main__.py @@ -1,6 +1,5 @@ import atexit import logging -from datetime import datetime from pathlib import Path import click @@ -69,7 +68,7 @@ def main(version: bool, debug: bool, log_path: Path) -> None: r" ▀▀▀ ▀▀ █▪ ▀▀▀▀ ▀▀▀ · ▀ ▀ ·▀▀▀ ·▀ ▀.▀▀▀ ▀▀▀ ", style="ascii.art", ), - f"v[repr.number]{__version__}[/]", + "v 3.3.3 Copyright © 2019-2025 rlaphoenix" + f"\nv [repr.number]{__version__}[/] - unshackle", ), (1, 11, 1, 10), expand=True,