protected function configure()
{
$this->setName($this->commandName)->addOption('on', null, InputOption::VALUE_NONE, 'Switch on')->addOption('off', null, InputOption::VALUE_NONE, 'Switch off')->setDescription($this->commandDescription);
if ($this->scope == self::SCOPE_STORE_VIEW_GLOBAL) {
$this->addOption('global', null, InputOption::VALUE_NONE, 'Set value on default scope');
}
if ($this->scope == self::SCOPE_STORE_VIEW || $this->scope == self::SCOPE_STORE_VIEW_GLOBAL) {
$this->addArgument('store', InputArgument::OPTIONAL, 'Store code or ID');
}
}