This tutorial will teach us how to create a custom Artisan command in Laravel.
We'll go further to learn:
How to accept arguments in the custom command, both optional and default arguments
How to pass options to the command, including optional and default options
Interactively ask the user to supply some values when they run the command
Prompt user to confirm/accept action
I hope you enjoy the tutorial...