eckit::EnvironmentCmd 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

EnvironmentCmd()
~EnvironmentCmd()

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::EnvironmentCmd::run(Proc, CmdArg&, std::istream&, std::ostream&)

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

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

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

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

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

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

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

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