15namespace kaycxx::cli {
24template <parseable_value T>
33 definition_->mark_as_action();
72 option<T>* definition_;
Defines and parses a command line interface.
Definition command.hpp:68
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:53
Handle for a registered repeatable option.
Definition repeatable_option_handle.hpp:25
repeatable_option_handle default_value(T value)
Sets a default option value.
Definition repeatable_option_handle.hpp:54
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:42
Defines command line options.