Skip to content

Keep consistency with --dev option #10933

Closed
@Seb33300

Description

@Seb33300

Hello,

I am not very comfortable with command line and I was wondering why in some cases you write:

composer require --dev bundle-name

And on some other cases:

composer require bundle-name --dev

It also concern yarn command lines:
https://github.com/symfony/symfony-docs/search?p=1&q=--dev&unscoped_q=--dev

Since it could be confusing for beginners or non-friendly command-line people like me, I suggest to keep consistency and always use the same order.

I will suggest to use composer require --dev bundle-name syntax since it sounds closer to the related composer require-dev option.

I can provide a pull request if 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    hasPRA 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