Psecio\Versionscan\Command\ScanCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('scan')->setDescription('Report back vulnerabilities for the current PHP version')->setDefinition(array(new InputOption('php-version', 'php-version', InputOption::VALUE_OPTIONAL, 'PHP version to check'), new InputOption('fail-only', 'fail-only', InputOption::VALUE_NONE, 'Show only failures'), new InputOption('sort', 'sort', InputOption::VALUE_OPTIONAL, 'Sort Results By Column (cve, risk)'), new InputOption('format', 'format', InputOption::VALUE_OPTIONAL, 'Output format'), new InputOption('output', 'output', InputOption::VALUE_OPTIONAL, 'Directory for file output types')))->setHelp('Execute the scan on the current PHP version');
    }