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

Method CmdStats

src/commands/CmdStats.cpp:44–57  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

42
43////////////////////////////////////////////////////////////////////////////////
44CmdStats::CmdStats() {
45 _keyword = "stats";
46 _usage = "task <filter> stats";
47 _description = "Shows task database statistics";
48 _read_only = true;
49 _displays_id = false;
50 _needs_gc = true;
51 _needs_recur_update = false;
52 _uses_context = true;
53 _accepts_filter = true;
54 _accepts_modifications = false;
55 _accepts_miscellaneous = false;
56 _category = Command::Category::metadata;
57}
58
59////////////////////////////////////////////////////////////////////////////////
60int CmdStats::execute(std::string& output) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected