Browscap\Command\GrepCommand::configure PHP Method

configure() protected method

Configures the current command.
protected configure ( )
    protected function configure()
    {
        $defaultResourceFolder = __DIR__ . BuildCommand::DEFAULT_RESOURCES_FOLDER;
        $this->setName('grep')->setDescription('')->addArgument('inputFile', InputArgument::REQUIRED, 'The input file to test')->addArgument('iniFile', InputArgument::OPTIONAL, 'The INI file to test against')->addOption('mode', null, InputOption::VALUE_REQUIRED, 'What mode (matched/unmatched)', self::MODE_UNMATCHED)->addOption('resources', null, InputOption::VALUE_REQUIRED, 'Where the resource files are located', $defaultResourceFolder)->addOption('debug', null, InputOption::VALUE_NONE, 'Should the debug mode entered?');
    }