CLI11 icon indicating copy to clipboard operation
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.

Results 120 CLI11 issues
Sort by recently updated
recently updated
newest added

I'm trying to have a subcommand that takes a file, and some extra args, and those extra args are passed down to that file for later processing. (I embed ruby...

This is essentially the `enum_ostream` example with a `config_to_str()` call added: ``` #include #include #include #include "CLI11.hpp" enum class Level : int { High, Medium, Low }; std::ostream &operator

I'd like to extend the library to support more option type. I'd prefer to avoid to use lambdas or simply define functions to pass to add_option_function(). Rather I'd like to...

updates: - [github.com/pre-commit/mirrors-clang-format: v18.1.6 → v18.1.7](https://github.com/pre-commit/mirrors-clang-format/compare/v18.1.6...v18.1.7)

We read the prefix_command documentation: ``` App * prefix_command (bool allow=true) Do not parse anything after the first unrecognized option and return. ``` ``` bool prefix_command_ {false} If true, return...

If the input filename is unicode(at least with Chinese) and use `CLI::ExistingFile` to check it, which will call `widen_impl` indirectly, the line `return std::wstring_convert().from_bytes(str, str + str_size);` failed in Windows....

Hello! I'm using CLI11 in a CMake project on Windows with: ``` # Don't link implicitly with gdi32.lib, winspool.lib, shell32.lib, etc # https://stackoverflow.com/questions/41400536/why-cmake-adds-unnecessary-libraries-to-visual-studio-projects set(CMAKE_CXX_STANDARD_LIBRARIES_INIT "") set(CMAKE_CXX_STANDARD_LIBRARIES "") ``` This causes...

bug

For example, consider the following program: ``` auto *group1 = testOption.add_option_group("outGroup"); auto *group2 = testOption.add_option_group("inGroup"); std::string outFile(""); group1->add_option("--outfile,-o", outFile, "specify the file location of the output")->required(); std::string inFile(""); group2 ->add_option("--infile,-i",...

First of all, thank you for this project! It looks like a bug was introduced in `v2.4.0` where combining `Option::envname` with a validator through `Option::check` no longer properly fails to...

CLI11: Version 2.4.1 I have this setup: ```c++ int main() { CLI::App cli{}; cli.set_help_flag(); cli.add_subcommand("foo", "Does foo")->parse_complete_callback([&](){std::cout parse_complete_callback([&]() { if (*help_opt) { std::cout