Required positional argument between 2 optional positional args #2120
-
I am trying re-implement HTTPie cli using clap-rs/structopt. I was wondering if it is possible to do something like this:
where
What I have tried so far but didn't work
|
Beta Was this translation helpful? Give feedback.
Answered by
CreepySkeleton
Aug 30, 2020
Replies: 2 comments 1 reply
-
Nope. This is a limitation of the parser algorithm itself. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ducaale
-
Can you please create an issue requesting this feature please? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nope. This is a limitation of the parser algorithm itself.