DEV Community

Dimitrios Desyllas
Dimitrios Desyllas

Posted on

Argument time does not exist on multi argument console command

Hello can you help me with this problem?

Ι made the following command in my laravel project:

namespace App\Console\Commands
use Illuminate\Console\Command;

class Covid19CloseTimeOverride extends Command
{

    protected $signature   = 'store:covid19:override {time: Time that goverment closes the restaurants} {ids*: The list of store Ids that close on the provided time} ';
    protected $description = "Overrides store's close times if

I try tro make a console with 2 arguments:

  1. time a single argument one
  2. store_ids containing multiple values

But as you can see I have trouble callimg my command with the required params.

Top comments (0)