Skip to content

[DX] Potential container:explore command #11303

@weaverryan

Description

@weaverryan

This relates to #11302, where container:debug has a lot of great information, but is difficult to use.

What about a new container:explore command, which would be interactive? For example:

Welcome! Search for a service by name or enter nothing to print out all services

Then I enter "log"

It prints

[0] logger
[1] monolog.handler.console
[2] monolog.handler.debug

Choose a number for more information on the service. Or hit enter to search for something else

I press "0". And it prints something similar to the container:debug logger output.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)DependencyInjection

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions