mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-25 21:27:19 +02:00
Commands - timesheet
- Added stubs for the start of a command rewrite, possibly.
This commit is contained in:
parent
fb23bf73a3
commit
e8a49b3e8e
1 changed files with 3 additions and 5 deletions
|
@ -82,11 +82,9 @@ int CmdTimesheet::execute (std::string& output)
|
||||||
|
|
||||||
// Determine how many reports to run.
|
// Determine how many reports to run.
|
||||||
int quantity = 1;
|
int quantity = 1;
|
||||||
/*
|
A3 modifications = context.a3.extract_modifications ();
|
||||||
TODO Need some command line parsing.
|
if (modifications.size () == 1)
|
||||||
if (context.sequence.size () == 1)
|
quantity = strtol (modifications[0]._raw.c_str (), NULL, 10);;
|
||||||
quantity = context.sequence[0];
|
|
||||||
*/
|
|
||||||
|
|
||||||
std::stringstream out;
|
std::stringstream out;
|
||||||
for (int week = 0; week < quantity; ++week)
|
for (int week = 0; week < quantity; ++week)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue