protected function runAction($action, array $options = array())
    {
        switch ($action) {
            case 'merge':
                return $this->runMergeAction($options);

            case 'tag':
                return $this->runTagAction($options);

            case 'pull':
                return $this->runPullAction($options);

            case 'push':
                return $this->runPushAction($options);
        }


        return false;
    }
protected function runAction($action, array $options = array())
    {
        switch ($action) {
            case 'merge':
                return $this->runMergeAction($options);

            case 'tag':
                return $this->runTagAction($options);

            case 'pull':
                return $this->runPullAction($options);

            case 'push':
                return $this->runPushAction($options);
        }


        return false;
    }
protected function runAction ( $ action , array $ options = array ( ) ) { switch ( $ action ) { case 'merge' : return $ this -> runMergeAction ( $ options ) ; case 'tag' : return $ this -> runTagAction ( $ options ) ; case 'pull' : return $ this -> runPullAction ( $ options ) ; case 'push' : return $ this -> runPushAction ( $ options ) ; } return false ; }
Determine which action to run, and run it.
@param $action
@param array $options
@return bool
Determine which action to run and run it .