Go to the documentation of this file.
42 std::map<std::string, std::string>
labels_{};
64 void label(std::string key, std::string val) {
labels_[key] = val; }
89 using funct_t = std::function<std::string(
const App *, std::string,
AppFormatMode)>;
103 return lambda_(app, name, mode);
120 virtual std::string
make_group(std::string group,
bool is_positional, std::vector<const Option *> opts)
const;
144 virtual std::string
make_usage(
const App *app, std::string name)
const;
155 std::stringstream out;
std::ostream & format_help(std::ostream &out, std::string name, std::string description, std::size_t wid)
Print a two part "help" string.
Definition: StringTools.hpp:155
Definition: Option.hpp:228
AppFormatMode
Definition: FormatterFwd.hpp:22
Creates a command line program, with very few defaults.
Definition: App.hpp:61