*/ class GraphvizGenerateCommand extends WrappedCommand { /** * {@inheritdoc} */ protected function configure() { parent::configure(); $this ->setName('propel:graphviz:generate') ->setDescription('Generate Graphviz files (.dot)') ->addOption('output-dir', null, InputOption::VALUE_REQUIRED, 'The output directory', BaseGraphvizGenerateCommand::DEFAULT_OUTPUT_DIRECTORY) ; } /** * {@inheritdoc} */ protected function createSubCommandInstance() { return new BaseGraphvizGenerateCommand(); } /** * {@inheritdoc} */ protected function getSubCommandArguments(InputInterface $input) { return array( '--output-dir' => $input->getOption('output-dir'), ); } }