Skip to content

[DX] Improve the output of all Symfony commands #11784

@javiereguiluz

Description

@javiereguiluz

(Note: I know that this is issue is mostly related to Symfony bundles and not Symfony code itself, but I think that opening the issue in this repo is the best thing to promote a discussion)

The problem

The output of the Symfony commands is completely different from one command to another. This makes more difficult to use them and shows a lack of attention to details:

security_check
yaml_lint
twig_debug
swiftmailer_debug
router_match
generate_bundle
container_debug
config_debug
swiftmailer_spool_send

Moreover, error messages are not designed for humans:

error_yaml_lint
error_translation_debug

The solution

If this DX issue is approved by @symfony/mergers and @symfony/deciders I propose the following:

  • Create a (very small) work group of people that want to work on this.
  • Define a simple (and if possible, visually pleasant) "style guide" for Symfony commands.
  • Make (if necessary) some changes on Console component to allow this work.
  • Adapt each command output to this new style guide using the new features of the component.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions