CLI11
CLI11 copied to clipboard
CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.
Added include-what-you-use pragmas to: * let IWYU point users to the main include file CLI/CLI.hpp * tell IWYU that CLI/CLI.hpp is the main exporting header. This should fix #816
Given the code: ```c++ #include "CLI11.hpp" int main(int argc, char* argv[]) { bool printConfig = false; std::string sub_arg; CLI::App cli_global {"Demo app"}; cli_global.set_config("--config", "config.cfg", "Load configuration from a file", true);...
I'm trying to setup what I think would be a pretty standard configuration file using TOML and subcommands. However, as soon as I put content into the configuration file, the...
After v2.4.0 update I receive `Exception: "unrecognized escape sequence \a in C:\testdir\aaa.txt"` on the following example code: ```cpp int main() { std::string filePath; CLI::App cliApp("test"); cliApp.add_option("file,-f,--file", filePath); try { cliApp.parse("-f...
Example of help modification as documentation supplement.
While adding a new subcommand to our app and using `excludes` to setup mutual exclusivity with the other subcommands, we found the subcommands refuse to run, even when only one...
The UWP tests in vcpackage are reporting: ``` C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DCLI11_COMPILE -ID:\b\cli11\src\v2.4.0-2775f05bcd.clean\include /DWIN32 /D_WINDOWS /D_UNICODE /DUNICODE /DWINAPI_FAMILY=WINAPI_FAMILY_APP /D__WRL_NO_DEFAULT_LIB__ /nologo /Z7 /MP /GS /Gd /Gm- /W3 /WX- /Zc:wchar_t /Zc:inline /Zc:forScope /fp:precise...
During testing, we encountered an unexpected error message. Let me introduce this small sample to explain the error message and how it confused us. ```cpp CLI::App testApp; int value; testApp.add_option("--foo",...
We are using CLI11 for an app. We have done a lot of tinkering with the output. One of the things we ran into during this was the lack of...
I've been running an application in WSL, and have found that as I pass more and more CLI arguments, it will cause an unrelated portion of my app to crash....