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

Method CmdAdd

src/commands/CmdAdd.cpp:36–49  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

34
35////////////////////////////////////////////////////////////////////////////////
36CmdAdd::CmdAdd() {
37 _keyword = "add";
38 _usage = "task add <mods>";
39 _description = "Adds a new task";
40 _read_only = false;
41 _displays_id = false;
42 _needs_gc = false;
43 _needs_recur_update = false;
44 _uses_context = true;
45 _accepts_filter = false;
46 _accepts_modifications = true;
47 _accepts_miscellaneous = false;
48 _category = Command::Category::operation;
49}
50
51////////////////////////////////////////////////////////////////////////////////
52int CmdAdd::execute(std::string& output) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected