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

Method CmdCompletionProjects

src/commands/CmdProjects.cpp:135–148  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

133
134////////////////////////////////////////////////////////////////////////////////
135CmdCompletionProjects::CmdCompletionProjects() {
136 _keyword = "_projects";
137 _usage = "task <filter> _projects";
138 _description = "Shows only a list of all project names used";
139 _read_only = true;
140 _displays_id = false;
141 _needs_gc = true;
142 _needs_recur_update = true;
143 _uses_context = false;
144 _accepts_filter = true;
145 _accepts_modifications = false;
146 _accepts_miscellaneous = false;
147 _category = Command::Category::internal;
148}
149
150////////////////////////////////////////////////////////////////////////////////
151int CmdCompletionProjects::execute(std::string& output) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected