+ protected function runFeed(
+ \Console_CommandLine_Result $command, Dependencies $deps
+ ) {
+ if ($command->command_name == 'update') {
+ return $this->runFeedUpdate($command, $deps);
+ }
+
+ $mg = new Feed_Manage($deps);
+ if ($command->command_name == 'add') {
+ $mg->addFeed($command->command->args['feed']);
+ } else if ($command->command_name == 'remove') {
+ $mg->removeFeed($command->command->args['feed']);
+ } else if ($command->command_name == 'list') {
+ $mg->listAll();
+ } else {
+ $this->cliParser->commands['feed']->displayUsage(1);
+ }
+ }
+
+ protected function runFeedUpdate(
+ \Console_CommandLine_Result $result, Dependencies $deps
+ ) {