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

Method CmdCustom

src/commands/CmdCustom.cpp:50–64  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

48
49////////////////////////////////////////////////////////////////////////////////
50CmdCustom::CmdCustom(const std::string& keyword, const std::string& usage,
51 const std::string& description) {
52 _keyword = keyword;
53 _usage = usage;
54 _description = description;
55 _read_only = true;
56 _displays_id = true;
57 _needs_gc = true;
58 _needs_recur_update = true;
59 _uses_context = true;
60 _accepts_filter = true;
61 _accepts_modifications = false;
62 _accepts_miscellaneous = false;
63 _category = Category::report;
64}
65
66////////////////////////////////////////////////////////////////////////////////
67// Whether a report uses context is defined by the report.<name>.context

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected