What is the recommended way to consume the excess of args #53
-
Hello. I wanna implement subcommands, and my framework (completely unfinished and unstable for now, don't use, but if you are interested, it is here https://github.com/HydrArgs/HydrArgs) allows to stack different cli parsing libs through common interface. So, what is the recommended way to get the excess of args (the args not matching the stuff defined by the current stage parser, they can contain the stuff looking like args, i.e |
Beta Was this translation helpful? Give feedback.
Answered by
grafikrobot
Oct 21, 2021
Replies: 1 comment 2 replies
-
The easiest way would be to add a tail regular argument that binds a |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
KOLANICH
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The easiest way would be to add a tail regular argument that binds a
std::vector<std::string>
.