feat: Update version display in main.py

* Changed the version display in `__main__.py` to include copyright information.
This commit is contained in:
Andy
2025-07-20 15:45:50 +00:00
parent 95674d5739
commit cb26ac6fa2
2 changed files with 2 additions and 3 deletions

View File

@@ -75,4 +75,4 @@ RUN uv sync --frozen --no-dev
# Set entrypoint to allow passing commands directly to unshackle # Set entrypoint to allow passing commands directly to unshackle
ENTRYPOINT ["uv", "run", "unshackle"] ENTRYPOINT ["uv", "run", "unshackle"]
CMD ["-h"] CMD ["-h"]

View File

@@ -1,6 +1,5 @@
import atexit import atexit
import logging import logging
from datetime import datetime
from pathlib import Path from pathlib import Path
import click import click
@@ -69,7 +68,7 @@ def main(version: bool, debug: bool, log_path: Path) -> None:
r" ▀▀▀ ▀▀ █▪ ▀▀▀▀ ▀▀▀ · ▀ ▀ ·▀▀▀ ·▀ ▀.▀▀▀ ▀▀▀ ", r" ▀▀▀ ▀▀ █▪ ▀▀▀▀ ▀▀▀ · ▀ ▀ ·▀▀▀ ·▀ ▀.▀▀▀ ▀▀▀ ",
style="ascii.art", 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), (1, 11, 1, 10),
expand=True, expand=True,