cli20 0.1.2
A C++20 typed-schema command-line parser
Loading...
Searching...
No Matches
cli::Action<> Struct Reference

#include <action.hh>

Static Public Member Functions

template<class Arg, class Result>
static constexpr auto invoke (ActionCtx< Arg > &, ActionResult< Result > input)
static constexpr auto validate () -> auto
static constexpr auto validate_impl ()

Static Public Attributes

static constexpr bool entry_is_optional = false

Detailed Description

Definition at line 547 of file action.hh.

Member Function Documentation

◆ invoke()

template<class Arg, class Result>
constexpr auto cli::Action<>::invoke ( ActionCtx< Arg > & ,
ActionResult< Result > input )
inlinestaticnodiscardconstexpr

Definition at line 552 of file action.hh.

◆ validate()

constexpr auto cli::Action<>::validate ( ) -> auto
inlinestaticconstexpr

Definition at line 556 of file action.hh.

◆ validate_impl()

constexpr auto cli::Action< Fns >::validate_impl ( )
inlinestaticconstexpr

Definition at line 497 of file action.hh.

Member Data Documentation

◆ entry_is_optional

bool cli::Action<>::entry_is_optional = false
staticconstexpr

Definition at line 548 of file action.hh.


The documentation for this struct was generated from the following file: