function CompleteCommand::configure
Overrides Command::configure
File
-
vendor/
symfony/ console/ Command/ CompleteCommand.php, line 55
Class
- CompleteCommand
- Responsible for providing the values to the shell completion.
Namespace
Symfony\Component\Console\CommandCode
protected function configure() : void {
$this->addOption('shell', 's', InputOption::VALUE_REQUIRED, 'The shell type ("' . implode('", "', array_keys($this->completionOutputs)) . '")')
->addOption('input', 'i', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'An array of input tokens (e.g. COMP_WORDS or argv)')
->addOption('current', 'c', InputOption::VALUE_REQUIRED, 'The index of the "input" array that the cursor is in (e.g. COMP_CWORD)')
->addOption('api-version', 'a', InputOption::VALUE_REQUIRED, 'The API version of the completion script')
->addOption('symfony', 'S', InputOption::VALUE_REQUIRED, 'deprecated');
}