From fb313a67b07fb2568f71c4d37fc1a9b657986823 Mon Sep 17 00:00:00 2001 From: floriskn <48930050+floriskn@users.noreply.github.com> Date: Sun, 15 Jun 2025 14:08:31 +0200 Subject: [PATCH] Create add-global-flag-cli.md --- .changes/add-global-flag-cli.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .changes/add-global-flag-cli.md diff --git a/.changes/add-global-flag-cli.md b/.changes/add-global-flag-cli.md new file mode 100644 index 00000000..9fa5a39b --- /dev/null +++ b/.changes/add-global-flag-cli.md @@ -0,0 +1,8 @@ +--- +"cli": minor +"cli-js": minor +--- + +Added a new `global` boolean flag to the `CliArg` struct to support global CLI arguments. This flag allows arguments like `--verbose` to be marked as global and automatically propagated to all subcommands, enabling consistent availability throughout the CLI. + +The new field is optional and defaults to false.