Blueman\Console\Command\ConvertCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName("convert")->setDescription("Converts an API Blueprint JSON file into a Postman collection")->addArgument('input-file', InputArgument::REQUIRED, 'The JSON file to convert')->addOption('path', null, InputOption::VALUE_OPTIONAL, 'The absolute path pointing to the location of your JSON file.', getcwd())->addOption('output', null, InputOption::VALUE_OPTIONAL, 'The location (including the filename) of where your collection should be saved.', sprintf('%s/collection.json', getcwd()))->addOption('host', null, InputOption::VALUE_REQUIRED, 'The base host of your API (e.g. https://api.example.com/v1).')->addOption('tests-filename', null, InputOption::VALUE_OPTIONAL, 'The JSON file name with Postman tests (located at --path)', 'blueman.tests.md')->addOption('include-tests', null, InputOption::VALUE_NONE, 'Add Postman tests to result JSON collection file (see --tests-filename)')->setHelp(<<<EOT
The <info>convert</info> command converts an API Blueprint JSON file into a Postman collection.
EOT
);
    }