Problem/Motivation

in #3624868: Support dr commands we copied the drush commands to prove the point that the two clis can be supported with essentially the same code.
But dr commands (and maybe drush too?) could be even simpler, not even inheriting from the symfony command. by using a class with __invoke.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

none

API changes

none

Data model changes

none

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bircher created an issue. See original summary.

bircher’s picture

Status: Active » Needs review

  • bircher committed a11a1360 on 2.0.x
    feat: #3624873 Trim dr commands to be just attributes on a class around...
bircher’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.