Commands - ids, _ids, _zshids

- Migrated handleIds, handleCompletionIds, handleZshCompletionIds
  to CmdIDs.
This commit is contained in:
Paul Beckingham 2011-05-28 15:40:18 -04:00
parent 56e4c8172b
commit 27d6e7cc81
9 changed files with 202 additions and 88 deletions

View file

@ -281,12 +281,9 @@ int Context::dispatch (std::string &out)
else if (cmd.command == "push") { handlePush (out); }
else if (cmd.command == "pull") { handlePull (out); }
else if (cmd.command == "count") { rc = handleCount (out); }
else if (cmd.command == "ids") { rc = handleIds (out); }
else if (cmd.command == "_projects") { rc = handleCompletionProjects (out); }
else if (cmd.command == "_ids") { rc = handleCompletionIDs (out); }
else if (cmd.command == "_config") { rc = handleCompletionConfig (out); }
else if (cmd.command == "_query") { rc = handleQuery (out); }
else if (cmd.command == "_zshids") { rc = handleZshCompletionIDs (out); }
else if (cmd.command == "" &&
sequence.size ()) { rc = handleModify (out); }