Browscap\Command\BuildCommand::configure PHP Method

configure() protected method

Configures the current command.
protected configure ( )
    protected function configure()
    {
        $defaultBuildFolder = __DIR__ . self::DEFAULT_BUILD_FOLDER;
        $defaultResourceFolder = __DIR__ . self::DEFAULT_RESOURCES_FOLDER;
        $this->setName('build')->setDescription('The JSON source files and builds the INI files')->addArgument('version', InputArgument::REQUIRED, 'Version number to apply')->addOption('output', null, InputOption::VALUE_REQUIRED, 'Where to output the build files to', $defaultBuildFolder)->addOption('resources', null, InputOption::VALUE_REQUIRED, 'Where the resource files are located', $defaultResourceFolder)->addOption('debug', null, InputOption::VALUE_NONE, 'Should the debug mode entered?');
    }