| 1 | <?php |
||
| 16 | class Build extends Command |
||
| 17 | { |
||
| 18 | protected function configure() |
||
| 19 | { |
||
| 20 | $this |
||
| 21 | ->setName('build') |
||
| 22 | ->setDescription('Build assets') |
||
| 23 | ->addArgument( |
||
| 24 | 'manifest', |
||
| 25 | null, |
||
| 26 | 'Path to manifest file.', |
||
| 27 | './sam.json' |
||
| 28 | ) |
||
| 29 | ->addOption( |
||
| 30 | 'minify', |
||
| 31 | 'm', |
||
| 32 | InputOption::VALUE_NONE, |
||
| 33 | 'Minify assets' |
||
| 34 | ) |
||
| 35 | ->addOption( |
||
| 36 | 'freeze', |
||
| 37 | 'f', |
||
| 38 | InputOption::VALUE_NONE, |
||
| 39 | 'Freeze assets' |
||
| 40 | ) |
||
| 41 | ; |
||
| 42 | } |
||
| 43 | |||
| 44 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 61 | } |
||
| 62 |