- Eliminated the Command::implements method.
- Implemented CmdCustom to handle all custom reports.
- Implemented CmdTags.
This commit is contained in:
Paul Beckingham
2011-05-24 19:25:33 -04:00
parent 31e865e823
commit bedc28f517
18 changed files with 575 additions and 129 deletions

View File

@@ -33,7 +33,6 @@ extern Context context;
////////////////////////////////////////////////////////////////////////////////
CmdTip::CmdTip ()
: _external_command ("")
{
_keyword = "tip";
_usage = "task tip";
@@ -42,20 +41,6 @@ CmdTip::CmdTip ()
_displays_id = false;
}
////////////////////////////////////////////////////////////////////////////////
bool CmdTip::implements (const std::string& command_line)
{
_external_command = "";
if (context.args.size () > 1 &&
(context.args[0] == "tip" ||
context.args[0] == "ti"))
{
return true;
}
return false;
}
////////////////////////////////////////////////////////////////////////////////
int CmdTip::execute (const std::string&, std::string&)
{