koutil
|
#include "koutil/argparser/arg.h"
#include "koutil/type/types.h"
#include <cassert>
#include <concepts>
#include <cstddef>
#include <string_view>
#include <tuple>
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | koutil::argparser::SubcommandBase |
Base class for subcommands. More... | |
class | koutil::argparser::CommandsBase |
Base class for commands. More... | |
class | koutil::argparser::Commands< Cmd > |
Collection of subcommands. More... | |
class | koutil::argparser::Commands< Cmd > |
Specialization of Commands for a single subcommand. More... | |
struct | koutil::argparser::Subcommand< type::types< Args... >, type::types< Cmd... > > |
Specialization of Subcommand for argument and subcommand types. More... | |
Namespaces | |
namespace | koutil |
namespace | koutil::argparser |
Concepts | |
concept | koutil::argparser::is_subcommand |
Concept to check if a type satisfies the requirements of a subcommand. | |
concept | koutil::argparser::are_commands |
Concept to check if a type satisfies the requirements of a collection of commands. | |
Functions | |
template<is_arg... Args, is_subcommand... Cmds> | |
constexpr auto | koutil::argparser::make_subcommand (std::string_view name, const Arguments< Args... > &args=Arguments<> {}, const Commands< Cmds... > &cmds=Commands<> {}) |
Helper function to create a subcommand. | |