15namespace kaycxx::cli {
24template <parseable_value T>
33 definition_->mark_as_action();
45 definition_->mark_as_required();
88 option<T>* definition_;
Common base class for an application and its commands.
Definition command.hpp:45
Handle for a registered option.
Definition option_handle.hpp:25
option_handle default_value(T value)
Sets the default option value.
Definition option_handle.hpp:69
Handle for a registered repeatable option.
Definition repeatable_option_handle.hpp:25
repeatable_option_handle required()
Requires the option to be specified at least once.
Definition repeatable_option_handle.hpp:44
repeatable_option_handle default_value(T value)
Sets a default option value.
Definition repeatable_option_handle.hpp:70
repeatable_option_handle action() noexcept
Marks the option as a mutually exclusive command action.
Definition repeatable_option_handle.hpp:32
option< T > const & definition() const noexcept
Returns the underlying option definition.
Definition repeatable_option_handle.hpp:54
Defines command line options.