mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
- Now parses the command line and can distinguish regular commands, as well as
custom reports.
This commit is contained in:
parent
6d5309527c
commit
748300631a
5 changed files with 133 additions and 41 deletions
|
@ -2673,3 +2673,22 @@ void gatherNextTasks (
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string handleCustomReport (
|
||||
TDB& tdb,
|
||||
T& task,
|
||||
Config& conf,
|
||||
const std::string& report)
|
||||
{
|
||||
std::cout << "# woohoo!" << std::endl;
|
||||
|
||||
std::stringstream out;
|
||||
|
||||
// TODO Load columns.
|
||||
// TODO Load sort order.
|
||||
|
||||
|
||||
|
||||
return out.str ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue