- Now parses the command line and can distinguish regular commands, as well as

custom reports.
This commit is contained in:
Paul Beckingham 2008-11-09 22:46:12 -05:00
parent 6d5309527c
commit 748300631a
5 changed files with 133 additions and 41 deletions

View file

@ -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 ();
}
////////////////////////////////////////////////////////////////////////////////