Skip to content

Create a wp-cli-shim #145

Closed as duplicate
wp-cli/wp-cli-bundle
#592
Closed as duplicate

Description

@Rahe

Describe your use case and the problem you are facing

Most of the time I need to centralize all the project dependencies into the composer.json file, wp-cli.phar executable too !
But this install lot's of PHP dependencies that can conflict with project dependencies.
I can add wpcli to the required but ultimately only use the phar.

Describe the solution you'd like

Make a repository like https://github.com/phpro/grumphp-shim that can be added composing only with the .phar and not installing all the dependencies and still defining them into the composer.json file.

Activity

  1. schlessera commented on Jun 30, 2022

    @schlessera
    Member

    I'm happy to add something like that, as dev dependencies have always been an issue. Not only do they cause conflicts, the autoloader also pollutes the real project with random code becoming active due to BC-logic in place.

  2. schlessera commented on Jun 30, 2022

    @schlessera
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions