Example #1
0
 /**
  * Configures the current command.
  */
 protected function configure()
 {
     $this->setName('keys:generate')->setDescription('Generate new WordPress keys and salts')->addOption('override', 'o', InputOption::VALUE_NONE, 'Overriding existing keys without asking')->addOption('export', null, InputOption::VALUE_NONE, 'Prefix lines with <code>export</code> so you can source the file in bash');
     parent::configure();
 }
Example #2
0
 /**
  * Configures the current command.
  */
 protected function configure()
 {
     $this->setName('env:show')->setDescription('Show an environmental variable from the dotenv file')->addArgument('name', InputArgument::OPTIONAL, 'The variable to set')->addOption('file', null, InputOption::VALUE_REQUIRED, 'Filepath of the dotenv file. Defaults to "./.env".');
     parent::configure();
 }
Example #3
0
 /**
  * Configures the current command.
  */
 protected function configure()
 {
     $this->setName('keys:show')->setDescription('Show current WordPress keys and salts');
     parent::configure();
 }
Example #4
0
 /**
  * Configures the current command.
  */
 protected function configure()
 {
     $this->setName('env:set')->setDescription('Set an environmental variable in the dotenv file')->addArgument('name', InputArgument::REQUIRED, 'The variable to set')->addOption('value', null, InputOption::VALUE_REQUIRED, 'Value of the variable')->addOption('secure', 's', InputOption::VALUE_NONE, 'Ask before overriding existing variables')->addOption('export', null, InputOption::VALUE_NONE, 'Prefix lines with <code>export</code> so you can source the file in bash');
     parent::configure();
 }