MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / CmdVersion

Method CmdVersion

src/commands/CmdVersion.cpp:43–56  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

41
42////////////////////////////////////////////////////////////////////////////////
43CmdVersion::CmdVersion() {
44 _keyword = "version";
45 _usage = "task version";
46 _description = "Shows the Taskwarrior version number";
47 _read_only = true;
48 _displays_id = false;
49 _needs_gc = false;
50 _needs_recur_update = false;
51 _uses_context = false;
52 _accepts_filter = false;
53 _accepts_modifications = false;
54 _accepts_miscellaneous = false;
55 _category = Command::Category::misc;
56}
57
58////////////////////////////////////////////////////////////////////////////////
59int CmdVersion::execute(std::string& output) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected