/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->setName('cleanup-tx'); $this->setDescription('Purges the defined .tx folder.'); $this->setHelp('Purges the defined .tx folder. ' . 'You can use this little helper command to quickly start from zero again.' . PHP_EOL); }
/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->addOption('user', 'U', InputOption::VALUE_OPTIONAL, 'Username on transifex, if empty prompt on console.', null); $this->addOption('pass', 'P', InputOption::VALUE_OPTIONAL, 'Password on transifex, if empty prompt on console.', null); $this->setHelp('NOTE: you can also specify username and password via the environment for automated jobs.' . PHP_EOL . 'user: transifexuser=username' . PHP_EOL . 'pass: transifexpass=password' . PHP_EOL); }
/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->addOption('cleanup', null, InputOption::VALUE_NONE, 'if set, remove obsolete files.'); }