| Conditions | 1 |
| Paths | 1 |
| Total Lines | 34 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | protected function configure() { |
||
| 24 | |||
| 25 | $this |
||
| 26 | ->setName('purge:run') |
||
| 27 | ->setDescription('Purge unused css from specified css files') |
||
| 28 | ->addArgument( |
||
| 29 | 'css', |
||
| 30 | InputArgument::REQUIRED, |
||
| 31 | 'Specify a css file to purge' |
||
| 32 | ) |
||
| 33 | ->addOption( |
||
| 34 | 'mb-support', |
||
| 35 | null, |
||
| 36 | InputOption::VALUE_NONE, |
||
| 37 | 'If set, multibyte functions will be enabled in the CSS parser ' |
||
| 38 | .'this typically causes slower parse times and is disabled by default' |
||
| 39 | ) |
||
| 40 | ->addArgument( |
||
| 41 | 'html', |
||
| 42 | InputArgument::REQUIRED, |
||
| 43 | 'Specify an html file to check against' |
||
| 44 | ) |
||
| 45 | ->addArgument( |
||
| 46 | 'output-file', |
||
| 47 | InputArgument::REQUIRED, |
||
| 48 | 'Specify a file to write the output to' |
||
| 49 | ) |
||
| 50 | ->addOption( |
||
| 51 | 'sitemap', |
||
| 52 | null, |
||
| 53 | InputOption::VALUE_NONE, |
||
| 54 | 'If set, Purge will read in a sitemap file and run against the links found within it' |
||
| 55 | ); |
||
| 56 | } |
||
| 57 | |||
| 71 |