• * Add missing Macros.hpp include to Error.hpp
    
    To address:
    
    ```
    In file included from /ITKWebAssemblyInterface/include/itkPipeline.h:21:
    In file included from /ITKWebAssemblyInterface-build/_deps/cli11-src/include/CLI/App.hpp:25:
    In file included from /ITKWebAssemblyInterface-build/_deps/cli11-src/include/CLI/ConfigFwd.hpp:17:
    /ITKWebAssemblyInterface-build/_deps/cli11-src/include/CLI/Error.hpp:75:5: error: unknown type name 'CLI11_NODISCARD'
        CLI11_NODISCARD int get_exit_code() const { return actual_exit_code; }
        ^
    ```
    
    * style: pre-commit.ci fixes
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Matt McCormick 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 »






  • * Fix internal header include paths.
    
    The extra leading "CLI/" part of include directives prevents the inclusion
    of CLI.hpp from a relative directory without an extra -I or /I compiler
    directive.
    
    * Fix single header generation script.
    
    Files included with "" should be relative to the header file location first.
    Sam Hocevar authored
     
    Browse File »

  • * Add a dedicated version option to CLI11 to facilitate use of version flags, similar to help flags
    
    * add some test for the version flag
    
    * update errors and formatting
    
    * clear up gcc 4.8 warnings
    
    * add a few more tests
    
    * fix compiler error
    
    * fix a few comments, and change default version flag to only use "--version"
    
    * remove `version` calls and tests
    
    * formatting and add `std::string version()`  back in.
    Philip Top authored
     
    Browse File »


  • * spelling: argument
    
    * spelling: conflicts
    
    * spelling: correctly
    
    * spelling: default
    
    * spelling: description
    
    * spelling: empty
    
    * spelling: enum
    
    * spelling: javascript
    
    * spelling: modifying
    
    * spelling: nonexistent
    
    * spelling: plumbum
    
    * spelling: programmatically
    
    * spelling: received
    
    * spelling: replaced
    
    * spelling: required
    
    * spelling: sanitizers
    
    * spelling: semicolon
    
    * spelling: source
    
    * spelling: subcommands
    
    * spelling: successful
    Josh Soref authored
     
    Browse File »



  • * Make CI fail with readability-container-size-empty flag
    
    * Make CI fail with cppcoreguidelines-owning-memory flag
    
    * Add all google checks, exclude specific ones
    
    * Apply clang-tidy fixes
    
    * Make timer constructors explicit
    
    * Add check for unscoped namespaces
    
    * Replace unscoped namespace by using-declaration
    
    * Replace unscoped namespace by using-declaration
    Christoph Bachhuber 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 »

  • fix incorrect parenthesis
    
    update some clang-tidy fixes mainly else after return but a few conversions from into to bool
    
    add extra newline before footer
    
    add an extra field to the extra Error
    
    add a footer callback for help operations
    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 »

  • add some comments in readME about performance
    
    move operator[] to return const Option *
    
    Apply suggestions from code review
    
    Co-Authored-By: phlptp <top1@llnl.gov>
    
    update readme and add some IniTests and fix a bug from the tests
    
    add_flag_callback
    
    add a few tests to capture the different paths
    
    fix incorrectly updated CMAKE file, and add some subcommand test for option finding
    
    add disable_flag_override and work out some kinks in the find option functions
    
    add some more tests and fix a few bugs in as<> function for options
    
    Allow general flag types and default values, add shortcut notation for retrieving values
    Philip Top authored
     
    Browse File »




  • in progress: formatters
    
    Getting closer
    
    Working on apps
    
    One test actually runs
    
    All builds, added filter functions
    
    Reverting a few behavours as needed
    
    Repairs
    
    All tests pass
    
    Fixing error with adding help flag
    
    Labels are simpler mappings, normalized setters
    
    Adding help_all
    
    Adding a few more tests
    
    One more line tested
    
    Adding one more check
    
    Adding to readme
    
    Simplify naming
    
    Adding default constructors
    
    Fixing spacing issues with subcommand all printout
    
    Adding a couple of tests
    Henry Fredrick Schreiner authored
     
    Browse File »