@@ -11,30 +11,30 @@ discard block |
||
11 | 11 | |
12 | 12 | class ImportModuleCommand extends ContainerAwareCommand |
13 | 13 | { |
14 | - protected function configure() |
|
15 | - { |
|
16 | - $this |
|
17 | - ->setName('ribsadmin:import-module') |
|
18 | - ->setDescription('Import a module in ribs admin') |
|
19 | - ->addArgument( |
|
20 | - 'package-name', |
|
21 | - InputArgument::REQUIRED, |
|
22 | - 'Name of composer package to import' |
|
23 | - ) |
|
24 | - /*->addOption( |
|
14 | + protected function configure() |
|
15 | + { |
|
16 | + $this |
|
17 | + ->setName('ribsadmin:import-module') |
|
18 | + ->setDescription('Import a module in ribs admin') |
|
19 | + ->addArgument( |
|
20 | + 'package-name', |
|
21 | + InputArgument::REQUIRED, |
|
22 | + 'Name of composer package to import' |
|
23 | + ) |
|
24 | + /*->addOption( |
|
25 | 25 | 'yell', |
26 | 26 | null, |
27 | 27 | InputOption::VALUE_NONE, |
28 | 28 | 'If set, the task will yell in uppercase letters' |
29 | 29 | )*/ |
30 | - ; |
|
31 | - } |
|
30 | + ; |
|
31 | + } |
|
32 | 32 | |
33 | - protected function execute(InputInterface $input, OutputInterface $output) |
|
34 | - { |
|
35 | - $pacakge_name = $input->getArgument('package-name'); |
|
33 | + protected function execute(InputInterface $input, OutputInterface $output) |
|
34 | + { |
|
35 | + $pacakge_name = $input->getArgument('package-name'); |
|
36 | 36 | |
37 | - /*$name = $input->getArgument('name'); |
|
37 | + /*$name = $input->getArgument('name'); |
|
38 | 38 | if ($name) { |
39 | 39 | $text = 'Hello '.$name; |
40 | 40 | } else { |
@@ -45,6 +45,6 @@ discard block |
||
45 | 45 | $text = strtoupper($text); |
46 | 46 | }*/ |
47 | 47 | |
48 | - $output->writeln("Houra ! -- " . $pacakge_name); |
|
49 | - } |
|
48 | + $output->writeln("Houra ! -- " . $pacakge_name); |
|
49 | + } |
|
50 | 50 | } |