bool hasOption(string $name) Determine if the given option is present.
void warn(string $string, null|int|string $verbosity = null) Write a string
string ask(string $question, string $default = null) Prompt the user for
void __construct() Create a new console command instance.
array options() Get all of the options passed to the command.
string anticipate(string $question, array $choices, string $default = null)
void error(string $string, null|int|string $verbosity = null) Write a string
string|array argument(string $key = null) Get the value of a command argument
void question(string $string, null|int|string $verbosity = null) Write
array arguments() Get all of the arguments passed to the command.
Page 16 of 23