mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
init: Integrated 'fill' command
This commit is contained in:
parent
32e102b8c4
commit
54b1937f19
2 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,7 @@ void initializeEntities (CLI& cli)
|
|||
cli.entity ("command", "diagnostics");
|
||||
cli.entity ("command", "export");
|
||||
cli.entity ("command", "extensions");
|
||||
cli.entity ("command", "fill");
|
||||
cli.entity ("command", "gaps");
|
||||
cli.entity ("command", "get");
|
||||
cli.entity ("command", "help");
|
||||
|
@ -262,6 +263,7 @@ int dispatchCommand (
|
|||
else if (command == "diagnostics") status = CmdDiagnostics ( rules, database, extensions);
|
||||
else if (command == "export") status = CmdExport (cli, rules, database );
|
||||
else if (command == "extensions") status = CmdExtensions ( rules, extensions);
|
||||
else if (command == "fill") status = CmdFill (cli, rules, database );
|
||||
else if (command == "gaps") status = CmdGaps (cli, rules, database );
|
||||
else if (command == "get") status = CmdGet (cli, rules, database );
|
||||
else if (command == "help") status = CmdHelp (cli );
|
||||
|
|
|
@ -57,6 +57,7 @@ Interval getLatestInterval (Database&);
|
|||
Range getFullDay (const Datetime&);
|
||||
|
||||
// validate.cpp
|
||||
void autoFill (const Rules&, Database&, const Interval&, Interval&);
|
||||
void validate (const CLI& cli, const Rules& rules, Database&, Interval&);
|
||||
|
||||
// init.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue