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.
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.
The easiest way would be to add a tail regular argument that binds a
std::vector<std::string>
.