laravel-zero icon indicating copy to clipboard operation
laravel-zero copied to clipboard

Command aliases result in duplicated schedule

Open simonhampel opened this issue 11 months ago • 0 comments

Steps to reproduce:

Create a command alias using the setAliases function:

    protected function configure()
    {
        $this->setAliases([
            'db', 'ef'
        ]);

        parent::configure();
    }

Schedule your command to execute using the schedule function.

Run schedule:list - your aliased command will appear in the schedule twice (or more if multiple aliases!).

simonhampel avatar May 11 '25 23:05 simonhampel