feat(cli): add support for global CLI arguments (#2772)

This commit is contained in:
floriskn
2025-06-18 14:04:03 +02:00
committed by GitHub
parent 27c2193d42
commit 37c2fb4120
3 changed files with 16 additions and 0 deletions
+8
View File
@@ -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.