mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +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
|
@ -42,6 +42,11 @@ CmdAdd::CmdAdd ()
|
|||
_description = STRING_CMD_ADD_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = false;
|
||||
_accepts_modifications = true;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -40,6 +40,11 @@ CmdCompletionAliases::CmdCompletionAliases ()
|
|||
_description = STRING_CMD_ALIASES_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;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdAnnotate::CmdAnnotate ()
|
|||
_description = STRING_CMD_ANNO_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = false;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = true;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdAppend::CmdAppend ()
|
|||
_description = STRING_CMD_APPEND_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = false;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = true;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,6 +43,11 @@ CmdZshAttributes::CmdZshAttributes ()
|
|||
_description = STRING_CMD_ZSHATTS_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;
|
||||
}
|
||||
|
||||
|
|
|
@ -1019,6 +1019,11 @@ CmdBurndownMonthly::CmdBurndownMonthly ()
|
|||
_description = STRING_CMD_BURN_USAGE_M;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = true;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::graphs;
|
||||
}
|
||||
|
||||
|
@ -1048,6 +1053,11 @@ CmdBurndownWeekly::CmdBurndownWeekly ()
|
|||
_description = STRING_CMD_BURN_USAGE_W;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = true;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::graphs;
|
||||
}
|
||||
|
||||
|
@ -1077,6 +1087,11 @@ CmdBurndownDaily::CmdBurndownDaily ()
|
|||
_description = STRING_CMD_BURN_USAGE_D;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = true;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::graphs;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,6 +42,11 @@ CmdCalc::CmdCalc ()
|
|||
_description = STRING_CMD_CALC_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::misc;
|
||||
}
|
||||
|
||||
|
|
|
@ -47,6 +47,11 @@ CmdCalendar::CmdCalendar ()
|
|||
_description = STRING_CMD_CAL_USAGE;
|
||||
_read_only = true;
|
||||
_displays_id = true;
|
||||
_needs_gc = true;
|
||||
_uses_context = true;
|
||||
_accepts_filter = false;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = true;
|
||||
_category = Command::Category::graphs;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdColor::CmdColor ()
|
|||
_description = STRING_CMD_COLOR_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::misc;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdColumns::CmdColumns ()
|
|||
_description = STRING_CMD_COLUMNS_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::config;
|
||||
}
|
||||
|
||||
|
@ -120,6 +125,11 @@ CmdCompletionColumns::CmdCompletionColumns ()
|
|||
_description = STRING_CMD_COLUMNS_USAGE2;
|
||||
_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;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdConfig::CmdConfig ()
|
|||
_description = STRING_CMD_CONFIG_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::config;
|
||||
}
|
||||
|
||||
|
@ -233,6 +238,11 @@ CmdCompletionConfig::CmdCompletionConfig ()
|
|||
_description = STRING_CMD_HCONFIG_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;
|
||||
}
|
||||
|
||||
|
|
|
@ -45,6 +45,11 @@ CmdContext::CmdContext ()
|
|||
_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;
|
||||
}
|
||||
|
||||
|
@ -371,6 +376,11 @@ CmdCompletionContext::CmdCompletionContext ()
|
|||
_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;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,6 +42,11 @@ CmdCount::CmdCount ()
|
|||
_description = STRING_CMD_COUNT_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;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,15 +43,20 @@ extern Context context;
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
CmdCustom::CmdCustom (
|
||||
const std::string& k,
|
||||
const std::string& u,
|
||||
const std::string& d)
|
||||
const std::string& keyword,
|
||||
const std::string& usage,
|
||||
const std::string& description)
|
||||
{
|
||||
_keyword = k;
|
||||
_usage = u;
|
||||
_description = d;
|
||||
_keyword = keyword;
|
||||
_usage = usage;
|
||||
_description = description;
|
||||
_read_only = true;
|
||||
_displays_id = true;
|
||||
_needs_gc = true;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Category::report;
|
||||
}
|
||||
|
||||
|
@ -78,6 +83,8 @@ int CmdCustom::execute (std::string& output)
|
|||
|
||||
std::vector <std::string> sortOrder;
|
||||
split (sortOrder, reportSort, ',');
|
||||
if (sortOrder.size () != 0 &&
|
||||
sortOrder[0] != "none")
|
||||
validateSortColumns (sortOrder);
|
||||
|
||||
// Add the report filter to any existing filter.
|
||||
|
@ -95,6 +102,8 @@ int CmdCustom::execute (std::string& output)
|
|||
for (unsigned int i = 0; i < filtered.size (); ++i)
|
||||
sequence.push_back (i);
|
||||
|
||||
if (sortOrder.size () != 0 &&
|
||||
sortOrder[0] != "none")
|
||||
sort_tasks (filtered, sequence, reportSort);
|
||||
|
||||
// Configure the view.
|
||||
|
|
|
@ -45,6 +45,11 @@ CmdDelete::CmdDelete ()
|
|||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_confirm = true;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = true;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdDenotate::CmdDenotate ()
|
|||
_description = STRING_CMD_DENO_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = true;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -56,6 +56,11 @@ CmdDiagnostics::CmdDiagnostics ()
|
|||
_description = STRING_CMD_DIAG_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::misc;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdDone::CmdDone ()
|
|||
_description = STRING_CMD_DONE_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = true;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdDuplicate::CmdDuplicate ()
|
|||
_description = STRING_CMD_DUPLICATE_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = true;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -53,6 +53,11 @@ CmdEdit::CmdEdit ()
|
|||
_description = STRING_CMD_EDIT_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -41,6 +41,11 @@ CmdExec::CmdExec ()
|
|||
_description = STRING_CMD_EXEC_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::misc;
|
||||
}
|
||||
|
||||
|
|
|
@ -41,6 +41,11 @@ CmdExport::CmdExport ()
|
|||
_description = STRING_CMD_EXPORT_USAGE;
|
||||
_read_only = true;
|
||||
_displays_id = true;
|
||||
_needs_gc = true;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::migration;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,6 +42,11 @@ CmdGet::CmdGet ()
|
|||
_description = STRING_CMD_GET_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::internal;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdHelp::CmdHelp ()
|
|||
_description = STRING_CMD_HELP_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::misc;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdHistoryMonthly::CmdHistoryMonthly ()
|
|||
_description = STRING_CMD_HISTORY_USAGE_M;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::graphs;
|
||||
}
|
||||
|
||||
|
@ -202,6 +207,11 @@ CmdHistoryAnnual::CmdHistoryAnnual ()
|
|||
_description = STRING_CMD_HISTORY_USAGE_A;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::graphs;
|
||||
}
|
||||
|
||||
|
@ -356,6 +366,11 @@ CmdGHistoryMonthly::CmdGHistoryMonthly ()
|
|||
_description = STRING_CMD_GHISTORY_USAGE_M;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::graphs;
|
||||
}
|
||||
|
||||
|
@ -551,6 +566,11 @@ CmdGHistoryAnnual::CmdGHistoryAnnual ()
|
|||
_description = STRING_CMD_GHISTORY_USAGE_A;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::graphs;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,6 +46,11 @@ CmdIDs::CmdIDs ()
|
|||
_description = STRING_CMD_IDS_USAGE_RANGE;
|
||||
_read_only = true;
|
||||
_displays_id = true;
|
||||
_needs_gc = true;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::interrogator;
|
||||
}
|
||||
|
||||
|
@ -134,6 +139,11 @@ CmdCompletionIds::CmdCompletionIds ()
|
|||
_description = STRING_CMD_IDS_USAGE_LIST;
|
||||
_read_only = true;
|
||||
_displays_id = true;
|
||||
_needs_gc = true;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::internal;
|
||||
}
|
||||
|
||||
|
@ -168,6 +178,11 @@ CmdZshCompletionIds::CmdZshCompletionIds ()
|
|||
_description = STRING_CMD_IDS_USAGE_ZSH;
|
||||
_read_only = true;
|
||||
_displays_id = true;
|
||||
_needs_gc = true;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::internal;
|
||||
}
|
||||
|
||||
|
@ -203,6 +218,11 @@ CmdUUIDs::CmdUUIDs ()
|
|||
_description = STRING_CMD_UUIDS_USAGE_RANGE;
|
||||
_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;
|
||||
}
|
||||
|
||||
|
@ -235,6 +255,11 @@ CmdCompletionUuids::CmdCompletionUuids ()
|
|||
_description = STRING_CMD_UUIDS_USAGE_LIST;
|
||||
_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;
|
||||
}
|
||||
|
||||
|
@ -267,6 +292,11 @@ CmdZshCompletionUuids::CmdZshCompletionUuids ()
|
|||
_description = STRING_CMD_UUIDS_USAGE_ZSH;
|
||||
_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;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,6 +46,11 @@ CmdImport::CmdImport ()
|
|||
_description = STRING_CMD_IMPORT_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = false;
|
||||
_accepts_filter = false;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = true;
|
||||
_category = Command::Category::migration;
|
||||
}
|
||||
|
||||
|
|
|
@ -54,6 +54,11 @@ CmdInfo::CmdInfo ()
|
|||
//
|
||||
// Once the test suite is completely modified, this can be corrected.
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::interrogator;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,6 +42,11 @@ CmdLog::CmdLog ()
|
|||
_description = STRING_CMD_LOG_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = false;
|
||||
_accepts_modifications = true;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -41,6 +41,11 @@ CmdLogo::CmdLogo ()
|
|||
_description = STRING_CMD_LOGO_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::misc;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdModify::CmdModify ()
|
|||
_description = STRING_CMD_MODIFY_USAGE1;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = true;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdPrepend::CmdPrepend ()
|
|||
_description = STRING_CMD_PREPEND_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = true;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,6 +46,11 @@ CmdProjects::CmdProjects ()
|
|||
_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;
|
||||
}
|
||||
|
||||
|
@ -167,6 +172,11 @@ CmdCompletionProjects::CmdCompletionProjects ()
|
|||
_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;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdReports::CmdReports ()
|
|||
_description = STRING_CMD_REPORTS_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::config;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,6 +46,11 @@ CmdShow::CmdShow ()
|
|||
_description = STRING_CMD_SHOW;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = false;
|
||||
_accepts_filter = false;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = true;
|
||||
_category = Command::Category::config;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdStart::CmdStart ()
|
|||
_description = STRING_CMD_START_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = true;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -48,6 +48,11 @@ CmdStats::CmdStats ()
|
|||
_description = STRING_CMD_STATS_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;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,6 +43,11 @@ CmdStop::CmdStop ()
|
|||
_description = STRING_CMD_STOP_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = true;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -48,6 +48,11 @@ CmdSummary::CmdSummary ()
|
|||
_description = STRING_CMD_SUMMARY_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::graphs;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,6 +46,11 @@ CmdSync::CmdSync ()
|
|||
_description = STRING_CMD_SYNC_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = false;
|
||||
_accepts_filter = false;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = true;
|
||||
_category = Command::Category::migration;
|
||||
}
|
||||
|
||||
|
|
|
@ -45,6 +45,11 @@ CmdTags::CmdTags ()
|
|||
_description = STRING_CMD_TAGS_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;
|
||||
}
|
||||
|
||||
|
@ -144,6 +149,11 @@ CmdCompletionTags::CmdCompletionTags ()
|
|||
_description = STRING_CMD_COMTAGS_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::internal;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,6 +46,11 @@ CmdTimesheet::CmdTimesheet ()
|
|||
_description = STRING_CMD_TIMESHEET_USAGE;
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = true;
|
||||
_uses_context = false;
|
||||
_accepts_filter = false;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = true;
|
||||
_category = Command::Category::graphs;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,6 +46,11 @@ CmdUDAs::CmdUDAs ()
|
|||
_description = STRING_CMD_UDAS_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::config;
|
||||
}
|
||||
|
||||
|
@ -182,6 +187,11 @@ CmdCompletionUDAs::CmdCompletionUDAs ()
|
|||
_description = STRING_CMD_UDAS_COMPL_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;
|
||||
}
|
||||
|
||||
|
|
|
@ -40,6 +40,11 @@ CmdUndo::CmdUndo ()
|
|||
_description = STRING_CMD_UNDO_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = false;
|
||||
_accepts_filter = false;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
_category = Command::Category::operation;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdUnique::CmdUnique ()
|
|||
_description = STRING_CMD_UNIQUE_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = true;
|
||||
_needs_gc = true;
|
||||
_uses_context = true;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = true;
|
||||
_category = Command::Category::internal;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,11 @@ CmdUrgency::CmdUrgency ()
|
|||
_description = STRING_CMD_URGENCY_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::internal;
|
||||
}
|
||||
|
||||
|
|
|
@ -47,6 +47,11 @@ CmdVersion::CmdVersion ()
|
|||
_description = STRING_CMD_VERSION_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::misc;
|
||||
}
|
||||
|
||||
|
@ -137,6 +142,11 @@ CmdCompletionVersion::CmdCompletionVersion ()
|
|||
_description = STRING_CMD_VERSION_USAGE2;
|
||||
_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