///////////////////////////////////////////////////////////////////////////
| 34 | |
| 35 | //////////////////////////////////////////////////////////////////////////////// |
| 36 | CmdAdd::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 | //////////////////////////////////////////////////////////////////////////////// |
| 52 | int CmdAdd::execute(std::string& output) { |
nothing calls this directly
no outgoing calls
no test coverage detected