args-tests/6.4.6+2

[full]

Tests for the args library

Usage

Make sure to add the stable section of the cppget.org repository to your project's repositories.manifest to be able to fetch the package.

:
role: prerequisite
location: https://pkg.cppget.org/1/stable
# trust: ...

Add the respective dependency in your project's manifest file to make the package available for import.

depends: args ^ 6.4.6

The single header-only C++ library to use args as command-line argument parser can be imported by the following declaration in a buildfile.

import args = args%lib{args}
... More
version 6.4.6+2
license MIT
repository https://pkg.cppget.org/1/stable
download args-tests-6.4.6+2.tar.gz
sha256 5444bd025f0be566759689957cbb8fa5e1d972c4fc213a4e4b130aac72493e5f
project args
url github.com/Taywee/args
doc-url taywee.github.io/args/
package-url github.com/build2-packaging/args/
package-email packaging@build2.org

Depends (1)

catch2 ^2.13.7

Changes

* 6.0.0
Change Reader to functor type, breaking change.
Change Reader functor to allow any return type, but specifically need bool-testable return for NOEXCEPT use.
Change List and Map templates into template templates to enforce proper type use and to clean up user template invocations (i.e. `args::ValueFlagList<std::string, std::unordered_set<std::string>>` becomes `args::ValueFlagList<std::string, std::unordered_set>`, also breaking change.

* 5.0.0
Implemented proper subparsers.
Added better C++11 style.
Improved documentation.

* 4.0.0
Changed all wording:

ArgFlag -> ValueFlag
Counter -> CounterFlag
PosArg -> Positional

Argument now solely refers to command line arguments.
Value refers to the argument that flags or positionals can take and store.
Positional is a positional option, which contains a value.
Option refers to flags and positionals, which can contain values.