forked from Shinonome/caelestia-cli
feat: add version flag
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user