Base class for pre-declared program parameter. More...
#include <eagine/program_args.hpp>
Public Member Functions | |
constexpr auto | short_tag () const noexcept -> string_view |
Get the short tag string for this parameter. | |
constexpr auto | long_tag () const noexcept -> string_view |
Get the long tag string for this parameter. | |
constexpr auto | description () const noexcept -> string_view |
Returns a human-readable description for this program parameter. | |
constexpr auto | description (string_view help_str) noexcept -> auto & |
Specifies a human-readable description for this program parameter. | |
Base class for pre-declared program parameter.
This is a base class for application-specific program parameters that are typically parsed from the program command-line arguments list. A declared parameter has a short tag like "-h" and a long tag like "--help".