• * Add unicode support tests
    
    * Add unicode parse tests
    
    * Implement #14
    
    * Slim down Windows.h
    
    * Fix documentation comments
    
    * Fix clang-tidy and cpplint
    
    * Update README
    
    * Fix clang-tidy
    
    * Fix to_path not being available on linux
    
    * Add roundtrip encoding tests
    
    * style: pre-commit.ci fixes
    
    * Fix pre-commit.ci
    
    * Fix codacy
    
    * Exclude parse_unicode which should not contain a newline from pre-commit
    
    * Remove a test which breaks CI
    
    * Fix build in CI
    
    * Replace broken execute_with tests
    
    * Fix wide string conversions on all systems
    
    * Fix system args on apple
    
    * style: pre-commit.ci fixes
    
    * Fix some includes
    
    * Fix wrong size calculation and comments
    
    * Add guards around codecvt
    
    * Fix _Pragma not recognized on MSVC
    
    * Fix bad macro check
    
    * Fix include
    
    * Fix narrow and widen when codecvt is missing
    
    * Fix some weird bug in old MSVC
    
    * Add dependent applications to meson-build
    
    * Fix precompilation
    
    * Fix lint
    
    * Fix coverage
    
    * Update README
    
    * style: pre-commit.ci fixes
    
    * Fix lint
    
    * Fix coverage
    
    * Fix optional braces offending clang
    
    * Remove copied comments from Windows.h
    
    * Suppress flawfinder detects
    
    * Fix cmake config tests failing because of a missing lib
    
    * chore: update copyright on new files to 2023
    
    Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
    
    * style: pre-commit.ci fixes
    
    Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
    Andrey Zhukov authored
     
    Browse File »


  • * chore: update clang-tidy
    
    Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
    
    * refactor: address clang-tidy
    
    * fix: C++11 support
    
    Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
    
    * chore: two more clang-tidy fixes
    
    Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
    
    * fix: get_inject_separator should be bool
    
    * refactor: addressing review feedback
    
    Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
    Co-authored-by: Philip Top <phlptp@gmail.com>
    
    * Apply suggestions from code review
    
    * Update include/CLI/Config.hpp
    
    * Update include/CLI/Config.hpp
    
    * Update include/CLI/Config.hpp
    
    * Update include/CLI/Config.hpp
    
    Co-authored-by: Philip Top <phlptp@gmail.com>
    Henry Schreiner authored
     
    Browse File »




  • * Update options.md book chapter and the readme to better reflect current usage and the modifications to the add_options templates.
    
    add support in add_option for wrapper types, such as std::optional, boost::optional or other types with a value_type trait.  Add support for generalized containers beyond vector,  add support for nested tuples and vectors, and complex numbers directly in add_option.  This includes several new type traits and object categories.
    
    Upgrade the google test version to better support templated tests.
    
    add support for vector argument separator `%%`
    
    * update formatting to match recent changes
    
    * Apply suggestions from code review
    
    Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
    Philip Top authored
     
    Browse File »



  • * add expanded type_size specification
    
    * add some more checks for type_size_max
    
    * continued work on getting type sizes more flexible
    
    * make some more tweaks to option to split up validate and reduce sections
    
    * git rid of exceptions on the type_size functions exceptions,  allow any number to be entered for the min and max and don't make a distinction between flags and other types.
    
    * add expected count
    
    * add the allow extra args flag in an option
    
    * start working in allow_extra_args
    
    * write some stuff in the book,  and continue working on the failing test cases
    
    * fix a few more of the helpers tests
    
    * a few more test cases running
    
    * all tests pass, fixing calls in ini files
    
    * get vector<pair> working and all tests passing
    
    * change callback to use reference to remove allocation and copy operation
    
    * add support and test for vector<vector<X>>
    
    * change Validators_ to validators_ for consistency
    
    * fix linux warnings and errors by reording some templates and adding some typename keywords
    
    * add support for std::vector<X> as the cross conversion type so optional<std::vector<X>> is supported using the full template of add_option.
    
    * a few more test cases to take care of some coverage gaps
    
    * add missing parenthesis
    
    * add some more tests for coverage gaps
    
    * add test for flag like option
    
    * add transform test for `as<X>` function and make it pass through the defaults
    
    * add a few more tests and have vector default string interpreted correctly.
    
    * add test for defaulted integer,  and route default string for defaulted value which would otherwise be empty
    
    * some code cleanup and comments and few more test coverage gap tests
    
    * add more tests and fix a few bugs on the type size and different code paths
    
    * remove path in results by fixing the clear of options so they go back to parsing state.
    
    * get coverage back to 100%
    
    * clang_tidy, and codacy fixes
    
    * reorder the lexical_conversion definitions
    
    * update some formatting
    
    * update whitespace on book chapter
    Philip Top authored
     
    Browse File »

  • * change the move function to _move_option and add an additional test
    
    add a validation check on min options to make sure it is even possible to succeed.
    
    add some additional tests to cover code paths and potential errors.
    
    add a number of additional tests and checks and fix some issues with the add function in option_groups
    
    clean up example and help formatting
    
    add option_groups example to play with
    
    move create_option_group to a member function using a dummy template
    
    add some optionGroup tests
    
    add min and max options calls and an associated Error call
    
    * add ranges example,  add excludes to app for options and subcommands.
    
    * add some tests on ranges, and some subcommand tests with exclusion
    
    * add tests in optionGroups for some invalid inputs
    
    * add required option to subcommands and option_groups
    
    * add disabled flag
    
    * add disable option to subcommands and some more tests
    
    * start work on ReadMe modifications
    
    * update the readme with descriptions of function and methods added for option_groups
    
    * clear up gcc 4.7 warnings
    
    * some update to the Readme and a few more warnings fixed
    
    * Minor readme touchup
    Philip Top authored
     
    Browse File »

  • * Adding new parse layout
    
    * Dropping shortcurcuit from help, since it has special override
    
    * Refactor help call
    
    * Dropping shortcurcuit since it is not needed now that help has custom behavoir
    
    * Dropping MaxSubcommand error (cannot occur)
    Henry Schreiner authored
     
    Browse File »