From 9ea5a9979795aaf6236db5aae4f6c59777795da1 Mon Sep 17 00:00:00 2001 From: Bas Harenslak Date: Sat, 20 Jun 2026 08:36:15 +0200 Subject: [PATCH] Add -h and -v shorthands for --help and --version Co-Authored-By: Claude Sonnet 4.6 --- blueprint/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blueprint/cli.py b/blueprint/cli.py index 32af2dc..576b6bd 100644 --- a/blueprint/cli.py +++ b/blueprint/cli.py @@ -19,8 +19,8 @@ console = Console() -@click.group() -@click.version_option(package_name="airflow-blueprint") +@click.group(context_settings={"help_option_names": ["-h", "--help"]}) +@click.version_option(None, "-v", "--version", package_name="airflow-blueprint") def cli(): """Blueprint - Reusable task templates composed into Airflow DAGs.