setName('dta:install'); $this->setDescription("Install or update dtapp"); $this->addArgument('name', Argument::OPTIONAL, 'Name', ''); } protected function execute(Input $input, Output $output) { $this->name = trim($input->getArgument('name')); if (empty($this->name)) { $this->output->writeln('name of online installation cannot be empty'); } else { $this->output->writeln("The specified module {$this->name} is not configured with installation rules"); } } }