Are multiple command executions supported? #2522
Answered
by
jonsequitur
peteraritchie
asked this question in
Q&A
-
My experience with System.CommandLine is that it will only execute one command (one handler) per console app execution. I've noticed that has been mentioned outside of System.CommandLine documentation but I can't see that anywhere in the System.CommandLine documentation. The API enables you to configure multiple commands/subcommands and handlers. Presumably such a configuration will pick the first matched at execution. Am I correct in that presumption? |
Beta Was this translation helpful? Give feedback.
Answered by
jonsequitur
Feb 24, 2025
Replies: 1 comment 2 replies
-
This is correct. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
peteraritchie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is correct.