| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | protected function configure() |
||
| 17 | { |
||
| 18 | $this |
||
| 19 | ->addDefaults() |
||
| 20 | ->setName('cron') |
||
| 21 | ->setDescription('Installs the cronjob on all or one Skylab projects') |
||
| 22 | ->addArgument('project', InputArgument::OPTIONAL, 'If set, the task will only set the cron for the project named') |
||
| 23 | ->setHelp(<<<EOT |
||
| 24 | The <info>cron</info> command will setup the cronjobs for one or all projects. |
||
| 25 | |||
| 26 | <info>php skylab.phar cron</info> # Will setup the cron for all projects |
||
| 27 | <info>php skylab.phar cron myproject</info> # Will setup the cron the myproject project |
||
| 28 | |||
| 29 | EOT |
||
| 30 | ); |
||
| 31 | } |
||
| 32 | |||
| 49 |