72 std::map<std::string, std::string>
labels_{};
96 void label(std::string key, std::string val) {
labels_[key] = val; }
105 (ratio >= 0.0f) ? ((ratio <= 1.0f) ? ratio : 1.0f / ratio) : ((ratio < -1.0f) ? 1.0f / (-ratio) : -ratio);
174 using funct_t = std::function<std::string(
const App *, std::string,
AppFormatMode)>;
188 return lambda_(app, name, mode);
208 make_group(std::string group,
bool is_positional, std::vector<const Option *> opts)
const;
#define CLI11_NODISCARD
Definition Macros.hpp:58
Creates a command line program, with very few defaults.
Definition App.hpp:115
Definition Option.hpp:259
AppFormatMode
Definition FormatterFwd.hpp:32
@ Normal
The normal, detailed help.
Definition FormatterFwd.hpp:33
@ All
A fully expanded help.
Definition FormatterFwd.hpp:34
@ Sub
Used when printed as part of expanded subcommand.
Definition FormatterFwd.hpp:35