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

Method CmdCompletionVersion

src/commands/CmdVersion.cpp:97–110  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

95
96////////////////////////////////////////////////////////////////////////////////
97CmdCompletionVersion::CmdCompletionVersion() {
98 _keyword = "_version";
99 _usage = "task _version";
100 _description = "Shows only the Taskwarrior version number";
101 _read_only = true;
102 _displays_id = false;
103 _needs_gc = false;
104 _needs_recur_update = false;
105 _uses_context = false;
106 _accepts_filter = false;
107 _accepts_modifications = false;
108 _accepts_miscellaneous = false;
109 _category = Command::Category::internal;
110}
111
112////////////////////////////////////////////////////////////////////////////////
113int CmdCompletionVersion::execute(std::string& output) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected