/** * Configure command * * @return void */ protected function configure() { parent::configure(); $this->setName('config:new'); $this->setDescription('Add a new item to the Homestead config.'); $this->addArgument('key', InputArgument::OPTIONAL, 'Type of config to add. [folder|site|database|variable]'); $this->addOption('host', null, InputArgument::OPTIONAL, 'Path on your local machine.'); $this->addOption('homestead', null, InputArgument::OPTIONAL, 'Path in Homestead\'s filesystem.'); $this->addOption('domain', null, InputArgument::OPTIONAL, 'Local domain name of site.'); $this->addOption('key', null, InputArgument::OPTIONAL, 'Name of variable.'); $this->addOption('value', null, InputArgument::OPTIONAL, 'Value of variable.'); $this->addOption('name', null, InputArgument::OPTIONAL, 'Database name.'); }
/** * Configure command * * @return void */ protected function configure() { parent::configure(); $this->setName('config'); $this->setDescription('Shows available config commands.'); }
/** * Configure command * * @return void */ protected function configure() { parent::configure(); $this->setName('config:show'); $this->setDescription('Show current Homestead config settings.'); }