1 | <?php |
||
12 | class Configure extends AbstractMagentoCommand |
||
13 | { |
||
14 | protected function configure() |
||
|
|||
15 | { |
||
16 | $this |
||
17 | ->setName('ls:env:configure') |
||
18 | ->addArgument('environment', InputArgument::REQUIRED, 'Identifier of the environment') |
||
19 | ->addOption('override', null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'pair of variable name and value overriding the values in the configuration, e.g. --variable="arg1=value1"') |
||
20 | ->setDescription('Update settings and data for environment'); |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @param \Symfony\Component\Console\Input\InputInterface $input |
||
25 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
26 | * @return int|void |
||
27 | */ |
||
28 | protected function execute(InputInterface $input, OutputInterface $output) |
||
48 | |||
49 | /** |
||
50 | * @param \Symfony\Component\Console\Input\InputInterface $input |
||
51 | * @return array |
||
52 | */ |
||
53 | protected function getVariableOverrides(InputInterface $input) |
||
66 | } |
||
67 |