feat: add --version support

This commit is contained in:
thePR0M3TH3AN committed 2026-03-14 21:21:05 -04:00
1 parent e1aa0513e9
commit 00d55a2fda
1 file changed
+6
+6
View File
@@ -1272,6 +1272,12 @@ def main(argv=None):
"--lang", "--language", "--sprache", "--idioma",
help="Force language code (e.g. en, es, de)",
)
parser.add_argument(
"--version", "-V",
action="version",
version=f"VoxVera {__version__}",
help="Show version information and exit",
)
sub = parser.add_subparsers(dest="command")
sub.add_parser("lang", help="Change language preference")