opened
boldtrn
username_0
I wonder if it's possible to pass arguments to scripts that are called from the `composer.json`?

E.G.

```
"scripts" : {
        "post-update-cmd" : [
            "Mopa\\Bundle\\BootstrapBundle\\Composer\\ScriptHandler::postInstallSymlinkTwitterBootstrap"
        ]
}
```

Now I want to pass the argument `--no-symlink` to the script. But it doesn't work by adding `--no-symlink`.
Passing arguments to scripts
issue
created
simonbergmann
username_1
@username_0 if you want to pass the argument --no-symlink to a script you can do this:
composer post-update-cmd -- --no-symlink
more info here: https://getcomposer.org/doc/articles/scripts.md
comment
created
FGM
username_2
Creative use of xargs in the script definition might help, by echoing the flags you want and having the script command be "xargs original_command"
comment
created
pmgouveia
username_3
@username_2 can you elaborate? thanks! 👍
comment
created
olivertappin
username_4
This still seems to be an issue in the latest version of Composer (v1.8.5)
comment