CORRECTION: I said for optional commands you should use -- however the correct way is to add a question mark (?) after the parameter name. -- is used to pass options which I will cover later in the series.
In this series, I will show you how to create your own CLI (command-line interface) application using the Laravel Zero framework.
Let's look at how we can take in user input and use it within our command line tool.
...
https://www.youtube.com/watch?v=VNeyBUQxRs0