Skip to content
Discussion options

You must be logged in to vote

Take a look at
https://github.com/CLIUtils/CLI11/blob/main/tests/app_helper.hpp

This is what is used in most of the tests, put all the arguments in a vector and reverse them, and call the vector parse method.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JohnBasrai
Comment options

Answer selected by JohnBasrai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants