Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | protected function configure() |
||
22 | { |
||
23 | $this |
||
24 | ->setName('config:get') |
||
25 | ->setDescription('Look up a specific configuration value') |
||
26 | ->addArgument('class', InputArgument::REQUIRED) |
||
27 | ->addArgument('property', InputArgument::REQUIRED); |
||
28 | |||
29 | $this->setHelp(<<<HELP |
||
30 | Look up a specific configuration value and output it directly. This command can be used for build processes, |
||
31 | automated scripts, quick checks etc where raw output is required outside of the SilverStripe application. |
||
32 | HELP |
||
33 | ); |
||
34 | } |
||
35 | |||
50 |