• * add a get_single_name function for options, and allow short names to be used for configuration output.
    
    * add config input to handle short and positional options
    
    * add some tests about short options and positional options in config files
    
    * allow use of envname_ in config files
    
    * update doc book and readme with fixes
    
    * formatting update
    
    * some formatting updates
    
    * add some notes on the config file generation
    
    * just try modifying a comment
    Philip Top authored
     
    Browse File »


  • * work on the flags book chapter and making sure the values are initialized properly.
    
    * Fix initialization of values used in flags or options
    
    * update some formatting and more brace initialization
    
    * update more formatting and fix a incorrect initializer
    
    * more formatting and some error fixes
    
    * more formatting
    
    * Small formatting fix
    
    Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
    Philip Top authored
     
    Browse File »

  • Refactor some of the configuration file handling code.  Make it easier to get the actual file that was processed, and allow extras in the config file to be ignored (default now), captured or errored.
    
    fix std::error reference and formatting
    
    add test for required but no default and fix a shadow warning on 'required' from gcc 4.8
    
    Test correctness of config write-read loop
    
    fix config generation for flag definitions
    
    make the config output conform with toml
    
    continue work on the config file interpretation and construction
    
    get all the ini tests working again with the cleaned up features.
    
    update formatting
    
    rename IniTest to ConfigFileTest to better reflect actual tests and add a few more test of the configTOML
    disambiguate enable/disable by default to an enumeration, and to make room for a configurable option to allow subcommands to be triggered by a config file.
    add a ConfigBase class to generally reflect a broader class of configuration files formats of similar nature to INI files
    
    add configurable to app and allow it to trigger subcommands
    
    add test of ini formatting
    
    add section support to the config files so sections can be opened and closed and the callbacks triggered as appropriate.
    
    add handling of option groups to the config file output
    
    add subcommand and option group configuration to config file output
    
    subsubcom test on config files
    
    fix a few sign comparison warnings and formatting
    
    start working on the book edits for configuration and a few more tests
    
    more test to check for subcommand close in config files
    
    more tests for coverage
    
    generalize section opening and closing
    
    add more tests and some fixes for different configurations
    
    yet more tests of different situations related to configuration files
    
    test more paths for configuration file sections
    
    remove some unused code and fix some codacy warnings
    
    update readme with updates from configuration files
    
    more book edits and README formatting
    
    remove extra space
    
    Apply suggestions from code review
    
    Co-Authored-By: Henry Schreiner <HenrySchreinerIII@gmail.com>
    
    fix some comments and documentation
    
    fix spacing
    
    Rename size_t -> std::size_t
    
    Fix compiler warnings with -Wsign-conversion
    
    Fix new warnings with -Wsign-conversion in PR
    Philip Top authored
     
    Browse File »