Esempio n. 1
0
 protected function configure()
 {
     parent::configure();
     $this->setName('diff:files')->addArgument('pattern', InputArgument::OPTIONAL, 'List details for any file with a diff that matches on this pattern')->addOption('lines', null, InputOption::VALUE_OPTIONAL, 'The number of lines of context in the diff', 3)->addOption('pro', null, InputOption::VALUE_OPTIONAL, 'If this parameter is passed, it will check pro instead of ee')->setDescription('Diff the core to see if anything files have been modified.');
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('diff:theme')->addArgument('current-theme', InputArgument::REQUIRED, 'Current theme', null)->addArgument('theme-to-compare-against', InputArgument::REQUIRED, 'Which theme to diff against', null)->addArgument('pattern', InputArgument::OPTIONAL, 'List details for any file with a diff that matches on this pattern')->addOption('raw', null, InputOption::VALUE_NONE, 'If set, the summary outputs only file names, without table decoration')->addOption('lines', null, InputOption::VALUE_OPTIONAL, 'The number of lines of context in the diff', 3)->addOption('ignore-copyright', null, InputOption::VALUE_NONE, 'If set, lines containing "@license" and "@copyright" are ignored')->addOption('filter', null, InputOption::VALUE_OPTIONAL, "Possible values:\n\tonly-different: only files with >0 found differences will be shown in summary\n\tonly-equal: only files with 0 found differences will be shown in summary")->addOption('pro', null, InputOption::VALUE_OPTIONAL, 'If this parameter is passed, it will check pro instead of ee')->setDescription('Diff the theme to detect changes.');
 }