/** * Defines the name, description and additional options for this command * and inherits the behaviour of the parent configure. * * @see ConvertCommandAbstract::configure() for the common business rules. * * @return void */ protected function configure() { parent::configure(); $this->setName('manual:to-latex'); $this->setDescription('Generates reference documentation as a single Latex file'); $this->addOption('author', null, InputOption::VALUE_OPTIONAL, 'Name of the author'); $this->addOption('cover-logo', null, InputOption::VALUE_OPTIONAL, 'Path to a cover logo relative to the source root'); $this->addOption('toc', null, InputOption::VALUE_OPTIONAL, 'Whether the document should have a table of contents', true); }
/** * Defines the name and description for this command and inherits the * behaviour of the parent configure. * * @see ConvertCommandAbstract::configure() for the common business rules. * * @return void */ protected function configure() { parent::configure(); $this->setName('manual:to-html'); $this->setDescription('Generates reference documentation as HTML files'); }