mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdConfig: Added stubbed implementation
This commit is contained in:
parent
221550f8cc
commit
8ee40cea70
4 changed files with 42 additions and 2 deletions
|
@ -173,8 +173,8 @@ int dispatchCommand (
|
|||
{
|
||||
std::vector <std::string> allCommands =
|
||||
{
|
||||
"help", "clear", "define", "export", "import",
|
||||
"report", "start", "stop", "tags", "track"
|
||||
"help", "clear", "config", "define", "export", "import", "report",
|
||||
"start", "stop", "tags", "track"
|
||||
};
|
||||
|
||||
std::vector <std::string> matches;
|
||||
|
@ -185,6 +185,7 @@ int dispatchCommand (
|
|||
// command to fn mapping.
|
||||
if (closeEnough (allCommands[0], argv[1], 2)) status = CmdHelp ();
|
||||
else if (closeEnough (allCommands[1], argv[1], 2)) status = CmdClear ();
|
||||
else if (closeEnough (allCommands[1], argv[1], 2)) status = CmdConfig ();
|
||||
else if (closeEnough (allCommands[2], argv[1], 2)) status = CmdDefine (rules);
|
||||
else if (closeEnough (allCommands[3], argv[1], 2)) status = CmdExport ();
|
||||
else if (closeEnough (allCommands[4], argv[1], 2)) status = CmdImport ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue