arg_router/1.3.0

C++ command line argument parsing and routing.
Recipe info
2023-04-06

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
arg_router/1.3.0

Using arg_router

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
arg_router/1.3.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("arg_router/1.3.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): arg_router
  • CMake target name(s): arg_router::arg_router
  • pkg-config file name(s): arg_router.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(arg_router REQUIRED)
# ...
target_link_libraries(YOUR_TARGET arg_router::arg_router)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the arg_router homepage listed above:

#include "arg_router/LICENSE"
#include "arg_router/README.md"
#include "arg_router/algorithm.hpp"
#include "arg_router/arg.hpp"
#include "arg_router/arg_router.hpp"
#include "arg_router/basic_types.hpp"
#include "arg_router/config.hpp"
#include "arg_router/counting_flag.hpp"
#include "arg_router/dependency/alias_group.hpp"
#include "arg_router/dependency/detail.hpp"
#include "arg_router/dependency/one_of.hpp"
#include "arg_router/exception.hpp"
#include "arg_router/flag.hpp"
#include "arg_router/help.hpp"
#include "arg_router/list.hpp"
#include "arg_router/literals.hpp"
#include "arg_router/math.hpp"
#include "arg_router/mode.hpp"
#include "arg_router/multi_lang/iso_locale.hpp"
#include "arg_router/multi_lang/root.hpp"
#include "arg_router/multi_lang/root_wrapper.hpp"
#include "arg_router/multi_lang/string_selector.hpp"
#include "arg_router/multi_lang/translation.hpp"
#include "arg_router/parsing/dynamic_token_adapter.hpp"
#include "arg_router/parsing/global_parser.hpp"
#include "arg_router/parsing/parse_target.hpp"
#include "arg_router/parsing/parsing.hpp"
#include "arg_router/parsing/pre_parse_data.hpp"
#include "arg_router/parsing/token_type.hpp"
#include "arg_router/policy/alias.hpp"
#include "arg_router/policy/colour_help_formatter.hpp"
#include "arg_router/policy/custom_parser.hpp"
#include "arg_router/policy/default_help_formatter.hpp"
#include "arg_router/policy/default_value.hpp"
#include "arg_router/policy/dependent.hpp"
#include "arg_router/policy/description.hpp"
#include "arg_router/policy/display_name.hpp"
#include "arg_router/policy/error_name.hpp"
#include "arg_router/policy/exception_translator.hpp"
#include "arg_router/policy/flatten_help.hpp"
#include "arg_router/policy/long_name.hpp"
#include "arg_router/policy/min_max_count.hpp"
#include "arg_router/policy/min_max_value.hpp"
#include "arg_router/policy/multi_stage_value.hpp"
#include "arg_router/policy/no_result_value.hpp"
#include "arg_router/policy/none_name.hpp"
#include "arg_router/policy/policy.hpp"
#include "arg_router/policy/program_addendum.hpp"
#include "arg_router/policy/program_intro.hpp"
#include "arg_router/policy/program_name.hpp"
#include "arg_router/policy/program_version.hpp"
#include "arg_router/policy/required.hpp"
#include "arg_router/policy/router.hpp"
#include "arg_router/policy/short_form_expander.hpp"
#include "arg_router/policy/short_name.hpp"
#include "arg_router/policy/validator.hpp"
#include "arg_router/policy/validator_rule_utilities.hpp"
#include "arg_router/policy/value_separator.hpp"
#include "arg_router/positional_arg.hpp"
#include "arg_router/root.hpp"
#include "arg_router/traits.hpp"
#include "arg_router/tree_node.hpp"
#include "arg_router/tree_node_fwd.hpp"
#include "arg_router/utility/compile_time_optional.hpp"
#include "arg_router/utility/compile_time_string.hpp"
#include "arg_router/utility/result.hpp"
#include "arg_router/utility/string_to_policy.hpp"
#include "arg_router/utility/string_view_ops.hpp"
#include "arg_router/utility/terminal.hpp"
#include "arg_router/utility/tree_recursor.hpp"
#include "arg_router/utility/tuple_iterator.hpp"
#include "arg_router/utility/type_hash.hpp"
#include "arg_router/utility/unsafe_any.hpp"
#include "arg_router/utility/utf8.hpp"
#include "arg_router/utility/utf8/code_point.hpp"
#include "arg_router/utility/utf8/double_width.hpp"
#include "arg_router/utility/utf8/grapheme_cluster_break.hpp"
#include "arg_router/utility/utf8/line_break.hpp"
#include "arg_router/utility/utf8/whitespace.hpp"
#include "arg_router/utility/utf8/zero_width.hpp"
#include "arg_router/version.hpp"