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

Method CmdColor

src/commands/CmdColor.cpp:40–53  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

38
39////////////////////////////////////////////////////////////////////////////////
40CmdColor::CmdColor() {
41 _keyword = "colors";
42 _usage = "task colors [sample | legend]";
43 _description = "All colors, a sample, or a legend";
44 _read_only = true;
45 _displays_id = false;
46 _needs_gc = false;
47 _needs_recur_update = false;
48 _uses_context = false;
49 _accepts_filter = false;
50 _accepts_modifications = false;
51 _accepts_miscellaneous = true;
52 _category = Command::Category::misc;
53}
54
55////////////////////////////////////////////////////////////////////////////////
56int CmdColor::execute(std::string& output) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected