From c8e18ef6ed7c1a711080fde8c389071ddc66bf68 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 17 Jun 2026 20:21:21 +1000 Subject: [PATCH] refactor: use aur helpers constant for parser --- src/caelestia/parser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/caelestia/parser.py b/src/caelestia/parser.py index 2e24ed8..69ed85e 100644 --- a/src/caelestia/parser.py +++ b/src/caelestia/parser.py @@ -14,6 +14,7 @@ from caelestia.subcommands import ( wallpaper, ) from caelestia.utils.dots.manifest import Manifest +from caelestia.utils.dots.packages import AUR_HELPERS from caelestia.utils.dots.source import DotsSource from caelestia.utils.io import warn from caelestia.utils.paths import wallpapers_dir @@ -150,7 +151,7 @@ def parse_args() -> tuple[argparse.ArgumentParser, argparse.Namespace]: formatter_class=argparse.RawDescriptionHelpFormatter, ) install_parser.set_defaults(cls=install.Command) - install_parser.add_argument("--aur-helper", choices=["yay", "paru"], help="the AUR helper to use") + install_parser.add_argument("--aur-helper", choices=AUR_HELPERS, help="the AUR helper to use") install_parser.add_argument( "--enable-components", metavar="LIST", help="comma-separated list of components to enable" )