eckit::JSONCmd class

Base classes

class CmdResource

Public static functions

static auto run(Proc, CmdArg&, std::istream&, std::ostream&) -> bool
static void command(CmdResource*, CmdArg&, std::istream&, std::ostream&)
static void loop(CmdResource*, CmdArg&, std::istream&, std::ostream&)
static void pipe(CmdResource*, CmdArg&, std::istream&, std::ostream&)
static void redirect(CmdResource*, CmdArg&, std::istream&, std::ostream&)
static void append(CmdResource*, CmdArg&, std::istream&, std::ostream&)
static auto completion(const std::string&) -> std::vector<std::string>
static auto completion(const std::vector<std::string>&) -> std::vector<std::string>
static auto completion(const char*, int pos, char*, int) -> bool

Constructors, destructors, conversion operators

JSONCmd()
~JSONCmd()

Private functions

void execute(std::istream&, std::ostream&, CmdArg&) override
void help(std::ostream&) const override
auto usage(const std::string& cmd) const -> Arg override

Function documentation

static bool eckit::JSONCmd::run(Proc, CmdArg&, std::istream&, std::ostream&)

static void eckit::JSONCmd::command(CmdResource*, CmdArg&, std::istream&, std::ostream&)

static void eckit::JSONCmd::loop(CmdResource*, CmdArg&, std::istream&, std::ostream&)

static void eckit::JSONCmd::pipe(CmdResource*, CmdArg&, std::istream&, std::ostream&)

static void eckit::JSONCmd::redirect(CmdResource*, CmdArg&, std::istream&, std::ostream&)

static void eckit::JSONCmd::append(CmdResource*, CmdArg&, std::istream&, std::ostream&)

static std::vector<std::string> eckit::JSONCmd::completion(const std::string&)

static bool eckit::JSONCmd::completion(const char*, int pos, char*, int)