on magento 2 when we create a console command, we can add arguments and/or option. But what is the difference between the two? In which cases should we use one or the other?
1 Answer
Options have a flag. Arguments have no flag.
bin/magento do:something --email="[email protected]"
do:something = Argument
--email = Option
(accept the anwser if solved your doubt)