Releases: TheLandfill/cpp_cli
Releases · TheLandfill/cpp_cli
Naming Update
This update shortens the names to make it more legible and uses namespaces to reduce complexity. It is in line with the README, while the older update uses the old names.
First Release With All Major Features
This release contains the first complete release with all the major features you would want from a CLI parser, including:
- A stable and efficient command line parser that can handle all fundamental types while still being extensible to new types.
- Can handle any standard c++ type that can be converted from a char * using standard library functions.
- Can handle vectors of any standard c++ type.
- Can be extended to any type.
- Can handle subcommands easily.
- Directly sets variables in code so you don't have to look them up later.
- An automatic help generator that generates a clean help message
- Exact error messages
- A standardized syntax that makes the library easy to use
- Header only, but can include the templates separately if you want to extend the functionality of the library.
Include cpp_cli.h in any file in which you need to call ARGS_PARSER::parse(...) and include args_parser_templates.h in any file which extends the functionality. You do not need to include args_parser_templates.h if you do not want to extend the functionality. Note that the cpp_cli.h in this release is different from the one in the source code, as the release version includes all four header files in the cpp_cli folder.