zcmdcat: Categorize commands.

This commit is contained in:
Daniel Shahaf 2015-07-20 03:23:15 +00:00 committed by Paul Beckingham
parent c83f702f58
commit 53a702d79a
47 changed files with 65 additions and 0 deletions

View file

@ -42,6 +42,7 @@ CmdAdd::CmdAdd ()
_description = STRING_CMD_ADD_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -40,6 +40,7 @@ CmdCompletionAliases::CmdCompletionAliases ()
_description = STRING_CMD_ALIASES_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdAnnotate::CmdAnnotate ()
_description = STRING_CMD_ANNO_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdAppend::CmdAppend ()
_description = STRING_CMD_APPEND_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -43,6 +43,7 @@ CmdZshAttributes::CmdZshAttributes ()
_description = STRING_CMD_ZSHATTS_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -1019,6 +1019,7 @@ CmdBurndownMonthly::CmdBurndownMonthly ()
_description = STRING_CMD_BURN_USAGE_M;
_read_only = true;
_displays_id = false;
_category = Command::Category::graphs;
}
////////////////////////////////////////////////////////////////////////////////
@ -1047,6 +1048,7 @@ CmdBurndownWeekly::CmdBurndownWeekly ()
_description = STRING_CMD_BURN_USAGE_W;
_read_only = true;
_displays_id = false;
_category = Command::Category::graphs;
}
////////////////////////////////////////////////////////////////////////////////
@ -1075,6 +1077,7 @@ CmdBurndownDaily::CmdBurndownDaily ()
_description = STRING_CMD_BURN_USAGE_D;
_read_only = true;
_displays_id = false;
_category = Command::Category::graphs;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -42,6 +42,7 @@ CmdCalc::CmdCalc ()
_description = STRING_CMD_CALC_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::misc;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -47,6 +47,7 @@ CmdCalendar::CmdCalendar ()
_description = STRING_CMD_CAL_USAGE;
_read_only = true;
_displays_id = true;
_category = Command::Category::graphs;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdColor::CmdColor ()
_description = STRING_CMD_COLOR_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::misc;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdColumns::CmdColumns ()
_description = STRING_CMD_COLUMNS_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::config;
}
////////////////////////////////////////////////////////////////////////////////
@ -119,6 +120,7 @@ CmdCompletionColumns::CmdCompletionColumns ()
_description = STRING_CMD_COLUMNS_USAGE2;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -43,6 +43,7 @@ CmdCompletionCommands::CmdCompletionCommands ()
_description = STRING_CMD_HCOMMANDS_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////
@ -73,6 +74,7 @@ CmdZshCommands::CmdZshCommands ()
_description = STRING_CMD_ZSHCOMMANDS_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdConfig::CmdConfig ()
_description = STRING_CMD_CONFIG_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::config;
}
////////////////////////////////////////////////////////////////////////////////
@ -232,6 +233,7 @@ CmdCompletionConfig::CmdCompletionConfig ()
_description = STRING_CMD_HCONFIG_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -370,6 +370,7 @@ CmdCompletionContext::CmdCompletionContext ()
_description = STRING_CMD_HCONTEXT_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -42,6 +42,7 @@ CmdCount::CmdCount ()
_description = STRING_CMD_COUNT_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::interrogator;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -45,6 +45,7 @@ CmdDelete::CmdDelete ()
_read_only = false;
_displays_id = false;
_needs_confirm = true;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdDenotate::CmdDenotate ()
_description = STRING_CMD_DENO_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -56,6 +56,7 @@ CmdDiagnostics::CmdDiagnostics ()
_description = STRING_CMD_DIAG_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::misc;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdDone::CmdDone ()
_description = STRING_CMD_DONE_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdDuplicate::CmdDuplicate ()
_description = STRING_CMD_DUPLICATE_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -53,6 +53,7 @@ CmdEdit::CmdEdit ()
_description = STRING_CMD_EDIT_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -41,6 +41,7 @@ CmdExec::CmdExec ()
_description = STRING_CMD_EXEC_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::misc;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -41,6 +41,7 @@ CmdExport::CmdExport ()
_description = STRING_CMD_EXPORT_USAGE;
_read_only = true;
_displays_id = true;
_category = Command::Category::migration;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -42,6 +42,7 @@ CmdGet::CmdGet ()
_description = STRING_CMD_GET_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdHelp::CmdHelp ()
_description = STRING_CMD_HELP_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::misc;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdHistoryMonthly::CmdHistoryMonthly ()
_description = STRING_CMD_HISTORY_USAGE_M;
_read_only = true;
_displays_id = false;
_category = Command::Category::graphs;
}
////////////////////////////////////////////////////////////////////////////////
@ -200,6 +201,7 @@ CmdHistoryAnnual::CmdHistoryAnnual ()
_description = STRING_CMD_HISTORY_USAGE_A;
_read_only = true;
_displays_id = false;
_category = Command::Category::graphs;
}
////////////////////////////////////////////////////////////////////////////////
@ -352,6 +354,7 @@ CmdGHistoryMonthly::CmdGHistoryMonthly ()
_description = STRING_CMD_GHISTORY_USAGE_M;
_read_only = true;
_displays_id = false;
_category = Command::Category::graphs;
}
////////////////////////////////////////////////////////////////////////////////
@ -545,6 +548,7 @@ CmdGHistoryAnnual::CmdGHistoryAnnual ()
_description = STRING_CMD_GHISTORY_USAGE_A;
_read_only = true;
_displays_id = false;
_category = Command::Category::graphs;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -46,6 +46,7 @@ CmdIDs::CmdIDs ()
_description = STRING_CMD_IDS_USAGE_RANGE;
_read_only = true;
_displays_id = true;
_category = Command::Category::interrogator;
}
////////////////////////////////////////////////////////////////////////////////
@ -133,6 +134,7 @@ CmdCompletionIds::CmdCompletionIds ()
_description = STRING_CMD_IDS_USAGE_LIST;
_read_only = true;
_displays_id = true;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////
@ -166,6 +168,7 @@ CmdZshCompletionIds::CmdZshCompletionIds ()
_description = STRING_CMD_IDS_USAGE_ZSH;
_read_only = true;
_displays_id = true;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////
@ -200,6 +203,7 @@ CmdUUIDs::CmdUUIDs ()
_description = STRING_CMD_UUIDS_USAGE_RANGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::interrogator;
}
////////////////////////////////////////////////////////////////////////////////
@ -231,6 +235,7 @@ CmdCompletionUuids::CmdCompletionUuids ()
_description = STRING_CMD_UUIDS_USAGE_LIST;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////
@ -262,6 +267,7 @@ CmdZshCompletionUuids::CmdZshCompletionUuids ()
_description = STRING_CMD_UUIDS_USAGE_ZSH;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -47,6 +47,7 @@ CmdImport::CmdImport ()
_description = STRING_CMD_IMPORT_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::migration;
}
////////////////////////////////////////////////////////////////////////////////

View file

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

View file

@ -42,6 +42,7 @@ CmdLog::CmdLog ()
_description = STRING_CMD_LOG_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -41,6 +41,7 @@ CmdLogo::CmdLogo ()
_description = STRING_CMD_LOGO_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::misc;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdModify::CmdModify ()
_description = STRING_CMD_MODIFY_USAGE1;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdPrepend::CmdPrepend ()
_description = STRING_CMD_PREPEND_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -46,6 +46,7 @@ CmdProjects::CmdProjects ()
_description = STRING_CMD_PROJECTS_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::interrogator;
}
////////////////////////////////////////////////////////////////////////////////
@ -166,6 +167,7 @@ CmdCompletionProjects::CmdCompletionProjects ()
_description = STRING_CMD_PROJECTS_USAGE_2;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdReports::CmdReports ()
_description = STRING_CMD_REPORTS_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::config;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -46,6 +46,7 @@ CmdShow::CmdShow ()
_description = STRING_CMD_SHOW;
_read_only = true;
_displays_id = false;
_category = Command::Category::config;
}
////////////////////////////////////////////////////////////////////////////////
@ -393,6 +394,7 @@ CmdShowRaw::CmdShowRaw ()
_description = STRING_CMD_SHOWRAW;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdStart::CmdStart ()
_description = STRING_CMD_START_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -48,6 +48,7 @@ CmdStats::CmdStats ()
_description = STRING_CMD_STATS_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::interrogator;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -43,6 +43,7 @@ CmdStop::CmdStop ()
_description = STRING_CMD_STOP_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -48,6 +48,7 @@ CmdSummary::CmdSummary ()
_description = STRING_CMD_SUMMARY_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::graphs;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -46,6 +46,7 @@ CmdSync::CmdSync ()
_description = STRING_CMD_SYNC_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::migration;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -45,6 +45,7 @@ CmdTags::CmdTags ()
_description = STRING_CMD_TAGS_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::interrogator;
}
////////////////////////////////////////////////////////////////////////////////
@ -143,6 +144,7 @@ CmdCompletionTags::CmdCompletionTags ()
_description = STRING_CMD_COMTAGS_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -46,6 +46,7 @@ CmdTimesheet::CmdTimesheet ()
_description = STRING_CMD_TIMESHEET_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::graphs;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -46,6 +46,7 @@ CmdUDAs::CmdUDAs ()
_description = STRING_CMD_UDAS_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::config;
}
////////////////////////////////////////////////////////////////////////////////
@ -181,6 +182,7 @@ CmdCompletionUDAs::CmdCompletionUDAs ()
_description = STRING_CMD_UDAS_COMPL_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -40,6 +40,7 @@ CmdUndo::CmdUndo ()
_description = STRING_CMD_UNDO_USAGE;
_read_only = false;
_displays_id = false;
_category = Command::Category::operation;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdUnique::CmdUnique ()
_description = STRING_CMD_UNIQUE_USAGE;
_read_only = false;
_displays_id = true;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,6 +44,7 @@ CmdUrgency::CmdUrgency ()
_description = STRING_CMD_URGENCY_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -47,6 +47,7 @@ CmdVersion::CmdVersion ()
_description = STRING_CMD_VERSION_USAGE;
_read_only = true;
_displays_id = false;
_category = Command::Category::misc;
}
////////////////////////////////////////////////////////////////////////////////
@ -136,6 +137,7 @@ CmdCompletionVersion::CmdCompletionVersion ()
_description = STRING_CMD_VERSION_USAGE2;
_read_only = true;
_displays_id = false;
_category = Command::Category::internal;
}
////////////////////////////////////////////////////////////////////////////////