Global Options in help text #479
-
Hi, thanks for making the lib. It looks decent! I have a question on how "global option" should be achieved. I understand using The example is basically from the doc here: https://commanddotnet.bilal-fazlani.com/arguments/argument-models/#accessing-from-interceptors-and-middleware. In my case it only shows that option in root command help text but not in subcommand. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hi @wayneyaoo, If that's the case, it's a bug. We have tests for this scenario that show the
The way the command is generated, the help generator doesn't need to know about Do you have a git repo I can look at? |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the reply @drewburlingame. I mark the it as answered. Another question: how can I achieve something like .. -v -vv and -vvv to increase verbosity? It's like specifying the same option multiple times. Is this something the framework can support? |
Beta Was this translation helpful? Give feedback.
Hi @wayneyaoo,
If that's the case, it's a bug. We have tests for this scenario that show the
AssignToExecutableSubcommands
option is printed in the help.The way the command is generat…