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

@ -42,6 +42,11 @@ CmdAdd::CmdAdd ()
_description = STRING_CMD_ADD_USAGE; _description = STRING_CMD_ADD_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = false;
_accepts_modifications = true;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -40,6 +40,11 @@ CmdCompletionAliases::CmdCompletionAliases ()
_description = STRING_CMD_ALIASES_USAGE; _description = STRING_CMD_ALIASES_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }

View file

@ -44,6 +44,11 @@ CmdAnnotate::CmdAnnotate ()
_description = STRING_CMD_ANNO_USAGE; _description = STRING_CMD_ANNO_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = true;
_accepts_modifications = true;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -44,6 +44,11 @@ CmdAppend::CmdAppend ()
_description = STRING_CMD_APPEND_USAGE; _description = STRING_CMD_APPEND_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = true;
_accepts_modifications = true;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -43,6 +43,11 @@ CmdZshAttributes::CmdZshAttributes ()
_description = STRING_CMD_ZSHATTS_USAGE; _description = STRING_CMD_ZSHATTS_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }

View file

@ -1019,6 +1019,11 @@ CmdBurndownMonthly::CmdBurndownMonthly ()
_description = STRING_CMD_BURN_USAGE_M; _description = STRING_CMD_BURN_USAGE_M;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::graphs; _category = Command::Category::graphs;
} }
@ -1048,6 +1053,11 @@ CmdBurndownWeekly::CmdBurndownWeekly ()
_description = STRING_CMD_BURN_USAGE_W; _description = STRING_CMD_BURN_USAGE_W;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::graphs; _category = Command::Category::graphs;
} }
@ -1077,6 +1087,11 @@ CmdBurndownDaily::CmdBurndownDaily ()
_description = STRING_CMD_BURN_USAGE_D; _description = STRING_CMD_BURN_USAGE_D;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::graphs; _category = Command::Category::graphs;
} }

View file

@ -42,6 +42,11 @@ CmdCalc::CmdCalc ()
_description = STRING_CMD_CALC_USAGE; _description = STRING_CMD_CALC_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::misc; _category = Command::Category::misc;
} }

View file

@ -47,6 +47,11 @@ CmdCalendar::CmdCalendar ()
_description = STRING_CMD_CAL_USAGE; _description = STRING_CMD_CAL_USAGE;
_read_only = true; _read_only = true;
_displays_id = true; _displays_id = true;
_needs_gc = true;
_uses_context = true;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::graphs; _category = Command::Category::graphs;
} }

View file

@ -44,6 +44,11 @@ CmdColor::CmdColor ()
_description = STRING_CMD_COLOR_USAGE; _description = STRING_CMD_COLOR_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::misc; _category = Command::Category::misc;
} }

View file

@ -44,6 +44,11 @@ CmdColumns::CmdColumns ()
_description = STRING_CMD_COLUMNS_USAGE; _description = STRING_CMD_COLUMNS_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::config; _category = Command::Category::config;
} }
@ -120,6 +125,11 @@ CmdCompletionColumns::CmdCompletionColumns ()
_description = STRING_CMD_COLUMNS_USAGE2; _description = STRING_CMD_COLUMNS_USAGE2;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }

View file

@ -44,6 +44,11 @@ CmdConfig::CmdConfig ()
_description = STRING_CMD_CONFIG_USAGE; _description = STRING_CMD_CONFIG_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::config; _category = Command::Category::config;
} }
@ -233,6 +238,11 @@ CmdCompletionConfig::CmdCompletionConfig ()
_description = STRING_CMD_HCONFIG_USAGE; _description = STRING_CMD_HCONFIG_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }

View file

@ -45,6 +45,11 @@ CmdContext::CmdContext ()
_description = STRING_CMD_CONTEXT_USAGE; _description = STRING_CMD_CONTEXT_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::context; _category = Command::Category::context;
} }
@ -371,6 +376,11 @@ CmdCompletionContext::CmdCompletionContext ()
_description = STRING_CMD_HCONTEXT_USAGE; _description = STRING_CMD_HCONTEXT_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }

View file

@ -42,6 +42,11 @@ CmdCount::CmdCount ()
_description = STRING_CMD_COUNT_USAGE; _description = STRING_CMD_COUNT_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::interrogator; _category = Command::Category::interrogator;
} }

View file

@ -43,15 +43,20 @@ extern Context context;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
CmdCustom::CmdCustom ( CmdCustom::CmdCustom (
const std::string& k, const std::string& keyword,
const std::string& u, const std::string& usage,
const std::string& d) const std::string& description)
{ {
_keyword = k; _keyword = keyword;
_usage = u; _usage = usage;
_description = d; _description = description;
_read_only = true; _read_only = true;
_displays_id = true; _displays_id = true;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Category::report; _category = Category::report;
} }
@ -78,6 +83,8 @@ int CmdCustom::execute (std::string& output)
std::vector <std::string> sortOrder; std::vector <std::string> sortOrder;
split (sortOrder, reportSort, ','); split (sortOrder, reportSort, ',');
if (sortOrder.size () != 0 &&
sortOrder[0] != "none")
validateSortColumns (sortOrder); validateSortColumns (sortOrder);
// Add the report filter to any existing filter. // 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) for (unsigned int i = 0; i < filtered.size (); ++i)
sequence.push_back (i); sequence.push_back (i);
if (sortOrder.size () != 0 &&
sortOrder[0] != "none")
sort_tasks (filtered, sequence, reportSort); sort_tasks (filtered, sequence, reportSort);
// Configure the view. // Configure the view.

View file

@ -45,6 +45,11 @@ CmdDelete::CmdDelete ()
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_confirm = true; _needs_confirm = true;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = true;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -44,6 +44,11 @@ CmdDenotate::CmdDenotate ()
_description = STRING_CMD_DENO_USAGE; _description = STRING_CMD_DENO_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -56,6 +56,11 @@ CmdDiagnostics::CmdDiagnostics ()
_description = STRING_CMD_DIAG_USAGE; _description = STRING_CMD_DIAG_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::misc; _category = Command::Category::misc;
} }

View file

@ -44,6 +44,11 @@ CmdDone::CmdDone ()
_description = STRING_CMD_DONE_USAGE; _description = STRING_CMD_DONE_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = true;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -44,6 +44,11 @@ CmdDuplicate::CmdDuplicate ()
_description = STRING_CMD_DUPLICATE_USAGE; _description = STRING_CMD_DUPLICATE_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = true;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -53,6 +53,11 @@ CmdEdit::CmdEdit ()
_description = STRING_CMD_EDIT_USAGE; _description = STRING_CMD_EDIT_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -41,6 +41,11 @@ CmdExec::CmdExec ()
_description = STRING_CMD_EXEC_USAGE; _description = STRING_CMD_EXEC_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::misc; _category = Command::Category::misc;
} }

View file

@ -41,6 +41,11 @@ CmdExport::CmdExport ()
_description = STRING_CMD_EXPORT_USAGE; _description = STRING_CMD_EXPORT_USAGE;
_read_only = true; _read_only = true;
_displays_id = true; _displays_id = true;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::migration; _category = Command::Category::migration;
} }

View file

@ -42,6 +42,11 @@ CmdGet::CmdGet ()
_description = STRING_CMD_GET_USAGE; _description = STRING_CMD_GET_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::internal; _category = Command::Category::internal;
} }

View file

@ -44,6 +44,11 @@ CmdHelp::CmdHelp ()
_description = STRING_CMD_HELP_USAGE; _description = STRING_CMD_HELP_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::misc; _category = Command::Category::misc;
} }

View file

@ -44,6 +44,11 @@ CmdHistoryMonthly::CmdHistoryMonthly ()
_description = STRING_CMD_HISTORY_USAGE_M; _description = STRING_CMD_HISTORY_USAGE_M;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::graphs; _category = Command::Category::graphs;
} }
@ -202,6 +207,11 @@ CmdHistoryAnnual::CmdHistoryAnnual ()
_description = STRING_CMD_HISTORY_USAGE_A; _description = STRING_CMD_HISTORY_USAGE_A;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::graphs; _category = Command::Category::graphs;
} }
@ -356,6 +366,11 @@ CmdGHistoryMonthly::CmdGHistoryMonthly ()
_description = STRING_CMD_GHISTORY_USAGE_M; _description = STRING_CMD_GHISTORY_USAGE_M;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::graphs; _category = Command::Category::graphs;
} }
@ -551,6 +566,11 @@ CmdGHistoryAnnual::CmdGHistoryAnnual ()
_description = STRING_CMD_GHISTORY_USAGE_A; _description = STRING_CMD_GHISTORY_USAGE_A;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::graphs; _category = Command::Category::graphs;
} }

View file

@ -46,6 +46,11 @@ CmdIDs::CmdIDs ()
_description = STRING_CMD_IDS_USAGE_RANGE; _description = STRING_CMD_IDS_USAGE_RANGE;
_read_only = true; _read_only = true;
_displays_id = true; _displays_id = true;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::interrogator; _category = Command::Category::interrogator;
} }
@ -134,6 +139,11 @@ CmdCompletionIds::CmdCompletionIds ()
_description = STRING_CMD_IDS_USAGE_LIST; _description = STRING_CMD_IDS_USAGE_LIST;
_read_only = true; _read_only = true;
_displays_id = true; _displays_id = true;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }
@ -168,6 +178,11 @@ CmdZshCompletionIds::CmdZshCompletionIds ()
_description = STRING_CMD_IDS_USAGE_ZSH; _description = STRING_CMD_IDS_USAGE_ZSH;
_read_only = true; _read_only = true;
_displays_id = true; _displays_id = true;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }
@ -203,6 +218,11 @@ CmdUUIDs::CmdUUIDs ()
_description = STRING_CMD_UUIDS_USAGE_RANGE; _description = STRING_CMD_UUIDS_USAGE_RANGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::interrogator; _category = Command::Category::interrogator;
} }
@ -235,6 +255,11 @@ CmdCompletionUuids::CmdCompletionUuids ()
_description = STRING_CMD_UUIDS_USAGE_LIST; _description = STRING_CMD_UUIDS_USAGE_LIST;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }
@ -267,6 +292,11 @@ CmdZshCompletionUuids::CmdZshCompletionUuids ()
_description = STRING_CMD_UUIDS_USAGE_ZSH; _description = STRING_CMD_UUIDS_USAGE_ZSH;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }

View file

@ -46,6 +46,11 @@ CmdImport::CmdImport ()
_description = STRING_CMD_IMPORT_USAGE; _description = STRING_CMD_IMPORT_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::migration; _category = Command::Category::migration;
} }

View file

@ -54,6 +54,11 @@ CmdInfo::CmdInfo ()
// //
// Once the test suite is completely modified, this can be corrected. // Once the test suite is completely modified, this can be corrected.
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::interrogator; _category = Command::Category::interrogator;
} }

View file

@ -42,6 +42,11 @@ CmdLog::CmdLog ()
_description = STRING_CMD_LOG_USAGE; _description = STRING_CMD_LOG_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = false;
_accepts_modifications = true;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -41,6 +41,11 @@ CmdLogo::CmdLogo ()
_description = STRING_CMD_LOGO_USAGE; _description = STRING_CMD_LOGO_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::misc; _category = Command::Category::misc;
} }

View file

@ -44,6 +44,11 @@ CmdModify::CmdModify ()
_description = STRING_CMD_MODIFY_USAGE1; _description = STRING_CMD_MODIFY_USAGE1;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = true;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -44,6 +44,11 @@ CmdPrepend::CmdPrepend ()
_description = STRING_CMD_PREPEND_USAGE; _description = STRING_CMD_PREPEND_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = true;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -46,6 +46,11 @@ CmdProjects::CmdProjects ()
_description = STRING_CMD_PROJECTS_USAGE; _description = STRING_CMD_PROJECTS_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::interrogator; _category = Command::Category::interrogator;
} }
@ -167,6 +172,11 @@ CmdCompletionProjects::CmdCompletionProjects ()
_description = STRING_CMD_PROJECTS_USAGE_2; _description = STRING_CMD_PROJECTS_USAGE_2;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }

View file

@ -44,6 +44,11 @@ CmdReports::CmdReports ()
_description = STRING_CMD_REPORTS_USAGE; _description = STRING_CMD_REPORTS_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::config; _category = Command::Category::config;
} }

View file

@ -46,6 +46,11 @@ CmdShow::CmdShow ()
_description = STRING_CMD_SHOW; _description = STRING_CMD_SHOW;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::config; _category = Command::Category::config;
} }

View file

@ -44,6 +44,11 @@ CmdStart::CmdStart ()
_description = STRING_CMD_START_USAGE; _description = STRING_CMD_START_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = true;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -48,6 +48,11 @@ CmdStats::CmdStats ()
_description = STRING_CMD_STATS_USAGE; _description = STRING_CMD_STATS_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::interrogator; _category = Command::Category::interrogator;
} }

View file

@ -43,6 +43,11 @@ CmdStop::CmdStop ()
_description = STRING_CMD_STOP_USAGE; _description = STRING_CMD_STOP_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = true;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -48,6 +48,11 @@ CmdSummary::CmdSummary ()
_description = STRING_CMD_SUMMARY_USAGE; _description = STRING_CMD_SUMMARY_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::graphs; _category = Command::Category::graphs;
} }

View file

@ -46,6 +46,11 @@ CmdSync::CmdSync ()
_description = STRING_CMD_SYNC_USAGE; _description = STRING_CMD_SYNC_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::migration; _category = Command::Category::migration;
} }

View file

@ -45,6 +45,11 @@ CmdTags::CmdTags ()
_description = STRING_CMD_TAGS_USAGE; _description = STRING_CMD_TAGS_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::interrogator; _category = Command::Category::interrogator;
} }
@ -144,6 +149,11 @@ CmdCompletionTags::CmdCompletionTags ()
_description = STRING_CMD_COMTAGS_USAGE; _description = STRING_CMD_COMTAGS_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }

View file

@ -46,6 +46,11 @@ CmdTimesheet::CmdTimesheet ()
_description = STRING_CMD_TIMESHEET_USAGE; _description = STRING_CMD_TIMESHEET_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::graphs; _category = Command::Category::graphs;
} }

View file

@ -46,6 +46,11 @@ CmdUDAs::CmdUDAs ()
_description = STRING_CMD_UDAS_USAGE; _description = STRING_CMD_UDAS_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::config; _category = Command::Category::config;
} }
@ -182,6 +187,11 @@ CmdCompletionUDAs::CmdCompletionUDAs ()
_description = STRING_CMD_UDAS_COMPL_USAGE; _description = STRING_CMD_UDAS_COMPL_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }

View file

@ -40,6 +40,11 @@ CmdUndo::CmdUndo ()
_description = STRING_CMD_UNDO_USAGE; _description = STRING_CMD_UNDO_USAGE;
_read_only = false; _read_only = false;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::operation; _category = Command::Category::operation;
} }

View file

@ -44,6 +44,11 @@ CmdUnique::CmdUnique ()
_description = STRING_CMD_UNIQUE_USAGE; _description = STRING_CMD_UNIQUE_USAGE;
_read_only = false; _read_only = false;
_displays_id = true; _displays_id = true;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = true;
_category = Command::Category::internal; _category = Command::Category::internal;
} }

View file

@ -44,6 +44,11 @@ CmdUrgency::CmdUrgency ()
_description = STRING_CMD_URGENCY_USAGE; _description = STRING_CMD_URGENCY_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = true;
_uses_context = true;
_accepts_filter = true;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }

View file

@ -47,6 +47,11 @@ CmdVersion::CmdVersion ()
_description = STRING_CMD_VERSION_USAGE; _description = STRING_CMD_VERSION_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::misc; _category = Command::Category::misc;
} }
@ -137,6 +142,11 @@ CmdCompletionVersion::CmdCompletionVersion ()
_description = STRING_CMD_VERSION_USAGE2; _description = STRING_CMD_VERSION_USAGE2;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_needs_gc = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
_accepts_miscellaneous = false;
_category = Command::Category::internal; _category = Command::Category::internal;
} }