Certificationy\Cli\Command\StartCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('start')->setDescription('Starts a new question set')->addOption('number', null, InputOption::VALUE_OPTIONAL, 'How many questions do you want?', 20)->addOption('list', 'l', InputOption::VALUE_NONE, 'List categories')->addOption("training", null, InputOption::VALUE_NONE, "Training mode: the solution is displayed after each question")->addOption('show-multiple-choice', null, InputOption::VALUE_OPTIONAL, 'Should we tell you when the question is multiple choice?', true)->addArgument('categories', InputArgument::IS_ARRAY, 'Which categories do you want (separate multiple with a space)', array())->addOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom config', null);
    }