mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-09 18:50:39 +02:00
Cmd*: Added command DNA, which will ѕoon drive functionality
This commit is contained in:
parent
d390433ec7
commit
bf80c7d514
47 changed files with 712 additions and 388 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue