We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the best way to achieve a command line like the following:
exe fetch <origin> <origin> <origin>
The number of origins should be fixed to a given number.
The only way I could come up with after reading the documentation would be something like this:
std::string origin1, origin2, origin3; command("fetch"), value("origin", origin1), value("origin", origin2), value("origin", origin3)
Is there any better way as this feels a bit clumsy? I was expecting something along these lines:
std::vector<std::string> origins; command("fetch"), values(3, "origin", origins)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is the best way to achieve a command line like the following:
The number of origins should be fixed to a given number.
The only way I could come up with after reading the documentation would be something like this:
Is there any better way as this feels a bit clumsy? I was expecting something along these lines:
The text was updated successfully, but these errors were encountered: