- Now parses the command line and can distinguish regular commands, as well as
custom reports.
This commit is contained in:
@@ -57,6 +57,8 @@ for (typeof (c) *foreach_p = & (c); \
|
||||
void parse (std::vector <std::string>&, std::string&, T&, Config&);
|
||||
bool validPriority (const std::string&);
|
||||
bool validDate (std::string&, Config&);
|
||||
void loadCustomReports (Config&);
|
||||
bool isCustomReport (const std::string&);
|
||||
|
||||
// task.cpp
|
||||
void gatherNextTasks (const TDB&, T&, Config&, std::vector <T>&, std::vector <int>&);
|
||||
@@ -103,6 +105,8 @@ std::string handleReportStats (TDB&, T&, Config&);
|
||||
std::string handleReportOldest (TDB&, T&, Config&);
|
||||
std::string handleReportNewest (TDB&, T&, Config&);
|
||||
|
||||
std::string handleCustomReport (TDB&, T&, Config&, const std::string&);
|
||||
|
||||
// util.cpp
|
||||
bool confirm (const std::string&);
|
||||
void wrapText (std::vector <std::string>&, const std::string&, const int);
|
||||
|
||||
Reference in New Issue
Block a user