50 std::map<std::string, std::string>
labels_{};
74 void label(std::string key, std::string val) {
labels_[key] = val; }
98 using funct_t = std::function<std::string(
const App *, std::string,
AppFormatMode)>;
112 return lambda_(app, name, mode);
132 make_group(std::string group,
bool is_positional, std::vector<const Option *> opts)
const;
167 std::stringstream out;
#define CLI11_NODISCARD
Definition Macros.hpp:47
Creates a command line program, with very few defaults.
Definition App.hpp:88
Definition Option.hpp:229
CLI11_INLINE std::ostream & format_help(std::ostream &out, std::string name, const std::string &description, std::size_t wid)
Print a two part "help" string.
AppFormatMode
Definition FormatterFwd.hpp:30
@ Normal
The normal, detailed help.
@ All
A fully expanded help.
@ Sub
Used when printed as part of expanded subcommand.