#include "koutil/argparser/arg.h"
#include "koutil/argparser/subcommand.h"
#include <cassert>
#include <concepts>
#include <cstddef>
#include <span>
#include <string_view>
#include <utility>
Go to the source code of this file.
|
template<typename Ctx , parser< Ctx > UParser, are_arguments Args, are_commands Cmds> |
constexpr auto | koutil::argparser::make_parser (Ctx &ctx, Args &&args, Cmds &&commands) |
| Creates a Parser object.
|
|
template<typename Ctx , parser< Ctx > UParser, are_arguments Args, are_commands Cmds> |
ParseResult | koutil::argparser::process_args (std::size_t argc, const char **argv, Ctx &ctx, Args &&args, Cmds &&commands) |
| Processes the command-line arguments.
|
|