• This cleans up the type checking a bit and makes it more readable, along with some other cleanup.
    
    * start work on trying to clean up the type traits for which lexical cast overload to use
    
    * fix readme issue and make the condition tests a little clearer
    
    * add a check for out of range errors on boolean conversions
    
    * Fix capitalization and some comments on option functions
    
    * fix a few code analysis warnings for VS2019
    Philip Top authored
     
    Browse Code »

  • * change the checked_multiply function to not use undefined behavior to check for potential undefined behavior and wrapping.
    
    * update the checked_multiply template to deal with mismatched sign in signed numbers and min val correctly.  This involved adding to templates to clear up warnings
    Philip Top authored
     
    Browse Code »
  • * add some tests with default capture on the two parameter template and some notes about it in the README.md
    
    remove the test from visual studio 2015
    vs2015 doesn't seem to properly deal with is_assignable in the cases we care about so make a standalone version that is more direct in what we are doing
    
    add version to appveyor and add some notes to the readme
    
    fix a few test cases to make sure code is covered and test a few other paths
    
    remove unneeded enum streaming operator
    
    add some diagnostic escapes around trait code to eliminate gcc Wnarrowing warnings
    
    work specification of the template operations
    
    remove optional add some templates for options conversions
    
    add the two parameter template for add_option
    
    * Fix some comments from Code review and add more description
    
    * fix case when string_view doesn't work to append to a string.
    
    * This PR also addressed #300
    
    * modify lexical_cast to take  const std::string &, instead of by value to allow string_view in a few cases
    Philip Top authored
     
    Browse Code »






  • * build-testing better supported
    
    * Add formatting to Azure
    
    * Adding more jobs to Azure
    
    * Control
    
    * Allow libc++ to be used on linux
    
    * Fix modernize message
    
    * Fix variable
    
    * fixup! Fix modernize message
    
    * Drop auto exp. optional
    
    * Update readme, better user id in docker
    
    * Fix BUILD_TESTING
    
    * Drop format from travis, leave tidy for now
    
    * Check tidy and format
    
    * Tidy fully on Azure now
    Henry Schreiner authored
     
    Browse Code »


  • * Start adding a description of the various examples to the README
    
    * add an examples segment to the readme describing the different examples
    
    * add a reserve operation when constructing vector from argc and argv
    Philip Top authored
     
    Browse Code »



  • * some tweaks with optional
    
    * remove set_results function that was bypassing some of the result processing in some cases of config files.
    
    * add positional Validator example and tests add CLI::Number validator.
    
    * add positional Validator example and tests add CLI::Number validator.
    
    * do some reformatting for style checks and remove auto in test lambda.
    Philip Top authored
     
    Browse Code »




  • * add transform and checkedTransform tests
    
    add Transformer and CheckedTransformer validators
    
    * Eliminate the Validator description string, some code cleanup
    
    add tests
    
    Make Validators a full Object and remove friend,  move to descriptions instead of overriding type name.
    
    update validators to actually merge the type strings and use all validators in the type outputs
    
    rework join so it works without the start variable,  allow some forwarding references in the validator types, some tests for non-copyable maps, and transforms
    
    merge the search function and enable use of member search function,  make the pair adapters forwarding instead of copying
    
    * add a few more tests and documentation
    
    fix some gcc 4.7 issues and add a few more test cases and more parts of the README
    
    Work on ReadMe and add Bound validator to clamp values
    
    * updates to README.md
    
    * Add some more in TOC of README and fix style in Option.hpp
    Philip Top authored
     
    Browse Code »
  • Make sure that nameless subcommands can handle subcommands and that App will treat subcommands in a group nearly the same as if they were in the in the app to begin with.
    Philip Top authored
     
    Browse Code »

  • * 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 Code »