mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 18:27:20 +02:00
Refactoring
- Obsoleted Cmd object. - Removed Context::dispatch, renamed dispatch2 --> dispatch. - Commented out import and custom report functionality that depends on Cmd. This should be about as broken as taskwarrior gets. It's all uphill from here.
This commit is contained in:
parent
bcbff8d99b
commit
a3912d9123
10 changed files with 62 additions and 323 deletions
|
@ -87,6 +87,7 @@ int CmdCustom::execute (const std::string&, std::string& output)
|
|||
split (filterArgs, reportFilter, ' ');
|
||||
// context.applyOverrides (filterArgs, filteredArgs);
|
||||
|
||||
/*
|
||||
{
|
||||
Cmd cmd (_keyword);
|
||||
Task task;
|
||||
|
@ -105,6 +106,7 @@ int CmdCustom::execute (const std::string&, std::string& output)
|
|||
for (att = filter.begin (); att != filter.end (); ++att)
|
||||
context.filter.push_back (*att);
|
||||
}
|
||||
*/
|
||||
|
||||
// Get all the tasks.
|
||||
std::vector <Task> tasks;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue