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

Method execute

src/commands/CmdAliases.cpp:51–56  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

49
50////////////////////////////////////////////////////////////////////////////////
51int CmdCompletionAliases::execute(std::string& output) {
52 for (const auto& alias : Context::getContext().config)
53 if (alias.first.substr(0, 6) == "alias.") output += alias.first.substr(6) + '\n';
54
55 return 0;
56}
57
58////////////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected