Releases: SpectraL519/cpp-ap
Releases · SpectraL519/cpp-ap
v2.2.6
- Added the documentation postprocessing script, which:
- fixes the markdown file links, GFM-style callouts, heading code blocks
- removes the mainpage title generated by doxygen
- Aligned the documentation workflow to:
- validate that the current cmake and doxygen version matches the created tag
- apply the postprocessing step to the generated documentation
- upload the current version to the
latest
directory as well as to the directory if the current tag is actually the latest
- Aligned the docs to include the proper explanation of how to generate and browse the documentation
- Aligned the indentation in docs so that they are properly handeled by doxygen
- Added the repository link to the docomuentation main page (readme)
v2.2.5
Aligned the documentation workflow to verify the project version and deploy the documentation to github pages
v2.2.4
Printing the parser's description aligned to print
Optional arguments:
--argument, -a : help message
instead of
Optional arguments [--,-]:
argument, a : help message
v2.2.3
- Introduced the following exception types (inheriting from
argument_parser_exception
):
invalid_configuration
,parsing_failure
,type_error
,lookup_failure
- Replace all current non-base exception types with static builder functions within the added exception types
- Moved the
exceptions.hpp
file fromap/error
toap
directory
v2.2.2
- Renamed the
argument_interface
class toargument_base
- Move common functionality of the
positional
andoptional
classes to the base class
v2.2.1
- Any values passed for an optional argument which exceed the upper bound specified with the
nargs
parameter will now be treated as dangling and an error will be thrown immediately instead of at the end during the verification step - Improved argument name formatting in error messages
- Changed the default
nargs
parameter value tonargs::any()
- unbound range
v2.2.0
- Added an
observe
action type with avoid(const T&)
signature - Added an
on_flag
action type with avoid()
signature (only for optional arguments) - Defined a value action visitor type
- Allowed for multiple actions for a single argument
- Added predefined actions:
print_config
,gt
,geq
,lt
,leq
,within
- Aligned existing actions:
- Changed the action type of
check_file_exists
toobserve
- Changed the action type of
v2.1.0
- Added the
argument_parser::verbose
function which can be used to set the description verbosity mode - Aligned the argument description generating to:
- Align the argument help messages (when verbose=false)
- Print the argument parameter values (when verbose=true)
- Added missing file doc comments
v1.2
- Added the
demo
workflow - Cleanup of the scripts, CMake and workflow files
- Improved error logic for argument value getting
Fixed the
v1.2
tag which addressed an invalid commit hash
v2.0.2
Added the argument name verification functionality to the argument_parser
class - an error is thrown if argument_parser::add_*
is called with a name that:
- is empty
- begins with the flag prefix character
- begins with a digit