mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-10 13:10:37 +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
|
@ -40,12 +40,17 @@ extern Context context;
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
CmdContext::CmdContext ()
|
||||
{
|
||||
_keyword = "context";
|
||||
_usage = "task context [<name> | subcommand]";
|
||||
_description = STRING_CMD_CONTEXT_USAGE;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_category = Command::Category::context;
|
||||
_keyword = "context";
|
||||
_usage = "task context [<name> | subcommand]";
|
||||
_description = STRING_CMD_CONTEXT_USAGE;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = false;
|
||||
_accepts_filter = false;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = true;
|
||||
_category = Command::Category::context;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -366,12 +371,17 @@ int CmdContext::unsetContext (std::vector <std::string>& words, std::stringstrea
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
CmdCompletionContext::CmdCompletionContext ()
|
||||
{
|
||||
_keyword = "_context";
|
||||
_usage = "task _context";
|
||||
_description = STRING_CMD_HCONTEXT_USAGE;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_category = Command::Category::internal;
|
||||
_keyword = "_context";
|
||||
_usage = "task _context";
|
||||
_description = STRING_CMD_HCONTEXT_USAGE;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = false;
|
||||
_accepts_filter = false;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::internal;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue