Enable subcommand if an arg is specified in the parent command #5348
-
Hi, I'd like to build a CLI that looks like this:
In this example, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is not support for this at this time and you would need to do it on your side in your application. There are a lot of different validation requests we receive and we try to balance them against how frequently they would be used so we get a large pay off to compensate for the build times, binary times, and more bloated API that is harder to browse. We want to explore more flexibility and that is in #3476. |
Beta Was this translation helpful? Give feedback.
There is not support for this at this time and you would need to do it on your side in your application.
There are a lot of different validation requests we receive and we try to balance them against how frequently they would be used so we get a large pay off to compensate for the build times, binary times, and more bloated API that is harder to browse. We want to explore more flexibility and that is in #3476.