protected function configure() { parent::configure(); $this->setName('encryption:decrypt-all'); $this->setDescription('This will disable server-side encryption and decrypt all files for ' . 'all users if it is supported by your encryption module. ' . 'Please make sure that no user access his files during this process!'); $this->addArgument('user', InputArgument::OPTIONAL, 'user for which you want to decrypt all files (optional)'); }
protected function configure() { parent::configure(); $this->setName('module'); $this->setDescription('Generate a barebone module'); $this->addArgument('ModuleName', InputArgument::REQUIRED, 'Module name'); }
/** * {@inheritdoc} */ protected function configure() { $this->setName('prxgt:odoo:replicate-products'); $this->setDescription('Pull products list from Odoo and replicate data into Magento.'); $this->addArgument('ids', InputArgument::OPTIONAL, 'Comma-delimited list of Odoo IDs to replicate (./magento prxgt:odoo:replicate-products 1,2,...); if missed - all products will be replicated;'); parent::configure(); }
/** * @{inheritdoc} */ protected function configure() { $this->setDescription('Install editor configuration'); $this->addOption('editor', null, InputOption::VALUE_REQUIRED, 'Which editor to use', 'subl'); $this->addOption('force', null, InputOption::VALUE_NONE, 'Overwrite configuration files'); parent::configure(); }
protected function configure() { $this->setName('generate:module'); $this->setDescription('Build a magento 2 module from the command line'); $this->addArgument('name', InputArgument::REQUIRED, 'Module Name ( Test/Module/ ) '); parent::configure(); }
/** * Defines default options for all commands. */ protected function configure() { parent::configure(); $this->addOption('bootstrap', 'b', InputOption::VALUE_OPTIONAL, 'Path to bootstrap file that should be required prior start.'); $this->addOption('include-path', 'i', InputOption::VALUE_OPTIONAL, 'Path that should be prepended to the default PHP include_path.'); $this->addOption('autoload-dir', 'a', InputOption::VALUE_OPTIONAL, 'Path from where to load custom classes specified in config etc.'); }
protected function configure() { parent::configure(); $this->setName('genj:social-feed'); $this->setDescription('Retrieve Social Media posts from Twitter, Facebook or Instagram'); $this->addOption('provider', null, InputOption::VALUE_REQUIRED, 'Select which providers to use in a comma seperated list. (No spaces, valid options: facebook, twitter, instagram)'); }
protected function configure() { parent::configure(); $this->setName('slimapp:project:init'); $this->setDescription("Initialize project directory structure."); $this->addOption('project-root', 'p', InputOption::VALUE_REQUIRED, "Project root directory."); }
/** * {@inheritdoc} */ protected function configure() { $this->setupTestInfo(); $this->setName(self::COMMAND_NAME)->setDescription('Runs tests'); $this->addArgument(self::INPUT_ARG_TYPE, InputArgument::OPTIONAL, 'Type of test to run. Available types: ' . implode(', ', array_keys($this->types)), 'default'); parent::configure(); }
protected function configure() { parent::configure(); $this->setName('migrate-config')->setDescription('Converts a SimpleID 1 configuration file to SimpleID 2'); $this->addArgument('input', InputArgument::REQUIRED, 'File name of SimpleID 1 config.php'); $this->addArgument('output', InputArgument::OPTIONAL, 'Output file name, or STDOUT if missing'); }
protected function configure() { $this->setName('magemtoo:generate:module'); $this->setDescription('Generates a module base skeleton'); $this->setDefinition([new InputOption('vendor-name', null, InputOption::VALUE_REQUIRED, 'The vendor name - used for namespace - eg : Magemtoo'), new InputOption('module-name', null, InputOption::VALUE_REQUIRED, 'The module name - word that describes what the module does. eg : Swifter')]); parent::configure(); }
protected function configure() { parent::configure(); $this->setName('encryption:encrypt-all'); $this->setDescription('Encrypt all files for all users'); $this->setHelp('This will encrypt all files for all users. ' . 'Please make sure that no user access his files during this process!'); }
protected function configure() { parent::configure(); $this->setName('diatheke:search')->setDescription('Searching in greek')->setDefinition(array())->addOption('query', 'k', InputOption::VALUE_OPTIONAL, 'Use search term for current translation')->addOption('strongs', 's', InputOption::VALUE_OPTIONAL, 'Use search term in greek')->setHelp(<<<EOT The <info>diatheke:search</info> command searches a bible translation for a specific word and returns the result EOT ); }
protected function configure() { parent::configure(); $this->setName('diatheke:list')->setDescription('Lists installed diatheke modules')->setDefinition(array(new InputArgument('list', InputArgument::REQUIRED, '[all|bible|dictionary|commentary|book|locale]'), new InputOption('long', 'l', InputOption::VALUE_NONE, 'Long list (TODO)'), new InputOption('raw', 'r', InputOption::VALUE_NONE, 'Raw output')))->setHelp(<<<EOT The <info>diatheke:list</info> command lists installed modules in the diatheke environment EOT ); }
protected function configure() { parent::configure(); $this->setName('diatheke:config')->setDescription('Diatheke configuration through user interaction')->setDefinition(array(new InputOption('export', 'e', InputOption::VALUE_REQUIRED, 'Stream to export information to')))->setHelp(<<<EOT The <info>diatheke:config</info> command lets the user set diatheke configuration and export data. EOT ); }
protected function configure() { parent::configure(); $this->setName('diatheke:diagnose')->setDescription('Diagnosing the diatheke install')->setDefinition(array())->setHelp(<<<EOT The <info>diatheke:diagnose</info> command tests and diagnoses the Diatheke environment EOT ); }
protected function configure() { parent::configure(); $this->setName('service'); $this->setDescription('Generate service'); $this->addArgument('ModuleName', InputArgument::REQUIRED, 'Module name'); $this->addArgument('ServiceName', InputArgument::REQUIRED, 'Service name'); }
protected function configure() { parent::configure(); $this->setName('controller'); $this->setDescription('Generate controller'); $this->addArgument('ModuleName', InputArgument::REQUIRED, 'Module name'); $this->addArgument('ControllerName', InputArgument::REQUIRED, 'Controller name'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('search')->setDefinition(new InputDefinition([new InputOption('username', 'u', InputOption::VALUE_REQUIRED, 'the username/token to use for authentication'), new InputOption('password', 'p', InputOption::VALUE_REQUIRED, 'the password to use for authentication'), new InputOption('host', 'd', InputOption::VALUE_REQUIRED, 'the host to connect'), new InputArgument('type', InputArgument::REQUIRED, 'the tracker type github|jira|gitlab'), new InputArgument('project', InputArgument::REQUIRED, 'the project name')]))->setDescription('search for issues in a tracker and project')->setHelp(<<<EOT The <info>search</info> EOT ); }
/** * @override */ protected function configure() { parent::configure(); $this->setName('edit'); $this->setDescription('Scan directory for anomalies'); // $this->addArgument('path', InputArgument::REQUIRED); $this->addOption('--throttle', FALSE, InputOption::VALUE_NONE, 'Force process throttling to make the integrated webserver to behave (needs cputhrottle installed)'); }
protected function configure() { parent::configure(); $this->setName('repository'); $this->setDescription('Generate repository'); $this->addArgument('ModuleName', InputArgument::REQUIRED, 'Module name'); $this->addArgument('RepositoryName', InputArgument::REQUIRED, 'Repository Name'); }
protected function configure() { parent::configure(); $this->setName('data-fixture:import')->setDescription('Import Data Fixtures')->setHelp(<<<EOT The import command Imports data-fixtures EOT )->addOption('append', null, InputOption::VALUE_NONE, 'Append data to existing data.')->addOption('purge-with-truncate', null, InputOption::VALUE_NONE, 'Truncate tables before inserting data'); }
protected function configure() { parent::configure(); $this->setName('datatransfer'); $this->setDescription('Generate data transfer'); $this->addArgument('ModuleName', InputArgument::REQUIRED, 'Module name'); $this->addArgument('DataTransferName', InputArgument::REQUIRED, 'Data Transfer Name'); }
/** * {@inheritdoc} */ protected function configure() { $this->setName('setup:di:compile') ->setDescription( 'Generates DI configuration and all non-existing interceptors and factories' ); parent::configure(); }
protected function configure() { $this ->setDefinition($this->createDefinition()) ->setDescription('Initializes empty test suite and default configuration file'); parent::configure(); }
/** {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('copy'); $this->addArgument(self::ATTR_SRC_HOST, InputArgument::REQUIRED, 'Source host'); $this->addArgument(self::ATTR_DST_HOST, InputArgument::REQUIRED, 'Destination host'); $this->addOption(self::OPT_SRC_PORT, null, InputOption::VALUE_REQUIRED, 'Source port', PheanstalkInterface::DEFAULT_PORT); $this->addOption(self::OPT_DST_PORT, null, InputOption::VALUE_REQUIRED, 'Destination port', PheanstalkInterface::DEFAULT_PORT); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('doctrine:phpcr:mapping:verify-unique-node-types')->setDescription('Verify that documents claiming to have unique node types are truly unique')->setHelp(<<<EOT The <info>%command.name%</info> command checks all mapped PHPCR-ODM documents and verifies that any claiming to use unique node types are truly unique. EOT ); }
protected function configure() { parent::configure(); $this->setName('passwd')->setDescription('Encodes a password'); $this->addArgument('password', InputArgument::OPTIONAL, 'Password to encode (prompt if missing)'); $this->addOption('algorithm', 'f', InputOption::VALUE_REQUIRED, 'HMAC algorithm', 'sha256'); $this->addOption('iterations', 'c', InputOption::VALUE_REQUIRED, 'Number of iterations', self::DEFAULT_ITERATIONS); $this->addOption('key-length', 'd', InputOption::VALUE_REQUIRED, 'Length of output, with 0 being the full length', 0); }
protected function configure() { parent::configure(); $this->setName('model'); $this->setDescription('Generate an Eloquent model based on a database table'); $this->addArgument('ModuleName', InputArgument::REQUIRED, 'Module name'); $this->addArgument('ModelName', InputArgument::REQUIRED, 'Model name'); $this->addArgument('TableName', InputArgument::REQUIRED, 'Table name'); $this->addArgument('EntityRelativePath', InputArgument::OPTIONAL, 'Can be used as a path to create in the Entities directory in the module directory'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('compile')->setDescription('Compiles classes into a single file')->addOption('config', null, InputOption::VALUE_REQUIRED, 'CSV of filenames to load, or the path to a PHP script that returns an array of file names')->addOption('output', null, InputOption::VALUE_REQUIRED)->addOption('fix_dir', null, InputOption::VALUE_REQUIRED, 'Convert __DIR__ constants to the original directory of a file', 1)->addOption('fix_file', null, InputOption::VALUE_REQUIRED, 'Convert __FILE__ constants to the original path of a file', 1)->addOption('strip_comments', null, InputOption::VALUE_REQUIRED, 'Set to 1 to strip comments from each source file', 0)->setHelp(<<<EOF The <info>%command.name%</info> command iterates over each script, normalizes the file to be wrapped in namespaces, and combines each file into a single PHP file. EOF ); }