public function addCommand(\Parable\Console\Command $command)
    {
        $command->prepare($this, $this->output, $this->input, $this->parameter);
        $this->commands[$command->getName()] = $command;
        return $this;
    }
public function addCommand(\Parable\Console\Command $command)
    {
        $command->prepare($this, $this->output, $this->input, $this->parameter);
        $this->commands[$command->getName()] = $command;
        return $this;
    }
public function addCommand ( \ Parable \ Console \ Command $ command ) { $ command -> prepare ( $ this , $ this -> output , $ this -> input , $ this -> parameter ) ; $ this -> commands [ $ command -> getName ( ) ] = $ command ; return $ this ; }
Add a command to the application.

@param \Parable\Console\Command $command

@return $this
Add a command to the application .