MCPcopy Create free account
hub / github.com/CLIUtils/CLI11 / SimpleFormatter

Class SimpleFormatter

tests/FormatterTest.cpp:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include <string>
17
18class SimpleFormatter : public CLI::FormatterBase {
19 public:
20 SimpleFormatter() : FormatterBase() {}
21
22 std::string make_help(const CLI::App *, std::string, CLI::AppFormatMode) const override {
23 return "This is really simple";
24 }
25};
26
27TEST_CASE("Formatter: Nothing", "[formatter]") {
28 CLI::App app{"My prog"};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected