Cmd*: Added command DNA, which will ѕoon drive functionality

This commit is contained in:
Paul Beckingham 2015-08-01 15:56:04 -04:00
parent d390433ec7
commit bf80c7d514
47 changed files with 712 additions and 388 deletions

View file

@ -41,12 +41,17 @@ extern Context context;
////////////////////////////////////////////////////////////////////////////////
CmdProjects::CmdProjects ()
{
_keyword = "projects";
_usage = "task <filter> projects";
_description = STRING_CMD_PROJECTS_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::interrogator;
_keyword = "projects";
_usage = "task <filter> projects";
_description = STRING_CMD_PROJECTS_USAGE;
_read_only = true;
_displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::interrogator;
}
////////////////////////////////////////////////////////////////////////////////
@ -162,12 +167,17 @@ int CmdProjects::execute (std::string& output)
////////////////////////////////////////////////////////////////////////////////
CmdCompletionProjects::CmdCompletionProjects ()
{
_keyword = "_projects";
_usage = "task <filter> _projects";
_description = STRING_CMD_PROJECTS_USAGE_2;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
_keyword = "_projects";
_usage = "task <filter> _projects";
_description = STRING_CMD_PROJECTS_USAGE_2;
_read_only = true;
_displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////