PromptsForMissingInput
trait PromptsForMissingInput (View source)
Methods
void
interact(InputInterface $input, OutputInterface $output)
Interact with the user before validating the input.
void
promptForMissingArguments(InputInterface $input, OutputInterface $output)
Prompt the user for any missing arguments.
array
promptForMissingArgumentsUsing()
Prompt for missing input arguments using the returned questions.
void
afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output)
Perform actions after the user was prompted for missing arguments.
bool
didReceiveOptions(InputInterface $input)
Whether the input contains any options that differ from the default values.
Details
protected void
interact(InputInterface $input, OutputInterface $output)
Interact with the user before validating the input.
protected void
promptForMissingArguments(InputInterface $input, OutputInterface $output)
Prompt the user for any missing arguments.
protected array
promptForMissingArgumentsUsing()
Prompt for missing input arguments using the returned questions.
protected void
afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output)
Perform actions after the user was prompted for missing arguments.
protected bool
didReceiveOptions(InputInterface $input)
Whether the input contains any options that differ from the default values.