Skip to content

Possibilities to give the command "patches-repatch" options for the composer install #564

Open
@saschabaecher-twocream

Description

@saschabaecher-twocream

Verification

  • I have updated Composer to the most recent stable release (composer self-update)
  • I have updated Composer Patches to the most recent stable release (composer update cweagans/composer-patches)
  • I am using one of the supported PHP versions (8.0+)
  • I have searched existing issues and discussions for my idea.

Is your feature request related to a problem?

Currently you have to use the command patches-repatch to execute the patches, which then executes the normal Composer install routine.

But now you have the problem that you can not use options like --no-dev.

Describe your proposed solution(s)

The possibility to pass the command patches-repatch a new parameter "install-options" with a string in the following format: "--no-dev --no-interactions"

From this you can then store the options in the ArrayInput with the value true with an explode to " ".

Describe alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features, options, or other additions.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions