mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2025-10-23 15:11:08 +00:00
feat: ✨ Update version display in main.py
* Changed the version display in `__main__.py` to include copyright information.
This commit is contained in:
@@ -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"]
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user