Do you also have a getArguments
method on your command? Make sure it returns an array as well.
Yes it returns array. As I said, without using the option, working with arguments works very well, but when I add --insert_data=something as an option in command line, it breaks with this error.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community