Skip to content

Document that console.command tag doesn’t support command aliases #9421

Closed
@hacfi

Description

@hacfi

I just noticed that using the console.command tag command aliases set via setAliases in configure are not taken into account. This should be documented on the console/commands_as_services.rst / http://symfony.com/doc/current/console/commands_as_services.html page. Or do you think that’s a bug of Symfony? If so Symfony\Component\Console\DependencyInjection\AddConsoleCommandPass needs to call getAliases of each command instance.

cc @bcremer @chalasr @nicolas-grekas

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConsolehasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions