/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('jarves:configuration:travis')->setDescription('Builds the database configuration for travis ci.')->addArgument('type', InputArgument::REQUIRED, 'database type: mysql|pgsql|sqlite')->addArgument('database-name', InputArgument::REQUIRED, 'database name')->addArgument('username', InputArgument::OPTIONAL, 'database login username')->addOption('pw', null, InputOption::VALUE_OPTIONAL)->addOption('server', null, InputOption::VALUE_OPTIONAL, 'hostname or ip. for SQLITE the path')->addOption('port', null, InputOption::VALUE_OPTIONAL)->setHelp(' You can set with this command configuration values inside the app/config/config.jarves.xml file. '); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('jarves:entrypoints')->setDescription('Shows all available entry points.'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('jarves:install:demo')->setDescription('Installs demo data.')->addArgument('hostname', null, 'The hostname of the domain we should add. Example: 127.0.0.1')->addArgument('path', null, 'The path of the domain we should add. Example: /jarves-1.0/ or just /'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('jarves:content:export')->setDescription('Exports content from nodes and files as a package in app/jarves you can commit in git and import again.'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('jarves:convert-crud-to-yml')->addArgument('path', InputArgument::REQUIRED, 'file path')->setDescription('Converts a PHP class to a yml apiControllerDefinition'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('jarves:content:import')->addOption('watch', null, InputOption::VALUE_NONE, "Watches for file changes and reimports")->setDescription('Imports website data from the package in app/jarves'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('jarves:objects:export')->setDescription('Exports data from all objects or only one.')->addArgument('bundle', InputArgument::OPTIONAL, 'filter by bundle, short version name')->addArgument('object-key', InputArgument::OPTIONAL, 'filter by given object-key'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('jarves:frontend'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('jarves:objects')->setDescription('Shows all available objects.')->addArgument('object-key', InputArgument::OPTIONAL, 'filter by given object-key'); }