We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a890ebd commit f2c5a4fCopy full SHA for f2c5a4f
usps/__init__.py
@@ -1 +1 @@
1
-__version__ = "0.5.5"
+__version__ = "0.6.0"
usps/__main__.py
@@ -10,6 +10,7 @@
10
from usps.storage import packages
11
from usps.tracking import Package
12
13
+from . import __version__
14
from .utils import get_delta
15
16
# Initialization
@@ -116,3 +117,8 @@ def command_name(
116
117
con.print(f"[green]✓ USPS {tracking_number} updated with name [cyan]'{name}'[/].[/]")
118
119
packages.save(original_packages | {tracking_number: name})
120
+
121
+@app.command("version")
122
+def command_version() -> None:
123
+ """Show the package version."""
124
+ con.print(f"[cyan]USPS-cli v{__version__} by iiPython[/]\n -> [yellow]https://github.com/iiPythonx/usps")
0 commit comments