string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array
int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int
void question(string $string) Write a string as question output. Parameters string $string Return Value void
string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string
void fire() Execute the console command. Return Value void
bool confirmToProceed(string $warning = 'Application In Production!', Closure $callback = null) Confirm before proceeding with the action Parameters string $warning Closure $callback Return Value bool
OutputInterface getOutput() Get the output implementation. Return Value OutputInterface
Application getLaravel() Get the Laravel application instance. Return Value Application
void error(string $string) Write a string as error output. Parameters string $string Return Value void
bool confirm(string $question, bool $default = false) Confirm a question with the user. Parameters string $question bool $default Return Value bool
Page 814 of 996