feat: add version flag

This commit is contained in:
2 * r + 2 * t
2025-07-04 20:45:53 +10:00
parent f16ec8f54e
commit 9b01d62dc1
3 changed files with 59 additions and 1 deletions
+1
View File
@@ -8,6 +8,7 @@ from caelestia.utils.wallpaper import get_wallpaper
def parse_args() -> (argparse.ArgumentParser, argparse.Namespace):
parser = argparse.ArgumentParser(prog="caelestia", description="Main control script for the Caelestia dotfiles")
parser.add_argument("-v", "--version", action="store_true", help="print the current version")
# Add subcommand parsers
command_parser = parser.add_subparsers(