52 std::map<std::string, std::string>
labels_{};
76 void label(std::string key, std::string val) {
labels_[key] = val; }
100 using funct_t = std::function<std::string(
const App *, std::string,
AppFormatMode)>;
114 return lambda_(app, name, mode);
134 make_group(std::string group,
bool is_positional, std::vector<const Option *> opts)
const;
169 std::stringstream out;
#define CLI11_NODISCARD
Definition: Macros.hpp:49
Creates a command line program, with very few defaults.
Definition: App.hpp:90
Definition: Option.hpp:231
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:32
@ Normal
The normal, detailed help.
@ All
A fully expanded help.
@ Sub
Used when printed as part of expanded subcommand.