protected function completeForCommandName()
    {
        if (!$this->command || (count($this->context->getWords()) == 2 && $this->context->getWordIndex() == 1)) {
            return $this->getCommandNames();
        }

        return false;
    }
protected function completeForCommandName()
    {
        if (!$this->command || (count($this->context->getWords()) == 2 && $this->context->getWordIndex() == 1)) {
            return $this->getCommandNames();
        }

        return false;
    }
protected function completeForCommandName ( ) { if ( ! $ this -> command || ( count ( $ this -> context -> getWords ( ) ) == 2 && $ this -> context -> getWordIndex ( ) == 1 ) ) { return $ this -> getCommandNames ( ) ; } return false ; }
Attempt to complete the current word as a command name

@return array|false
Attempt to complete the current word as a command name