Add json and yaml to the -f arg

This commit is contained in:
Miguel Jacq 2025-11-26 15:25:06 +11:00
parent 409824a3b5
commit 8425154481
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9

View file

@ -30,7 +30,7 @@ def _build_arg_parser() -> argparse.ArgumentParser:
ap.add_argument(
"-f",
"--format",
choices=["ini", "toml"],
choices=["ini", "json", "toml", "yaml"],
help="Force config format instead of auto-detecting from filename.",
)
ap.add_argument(