Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing through arbitrary arguments to different commands #155

Closed
victorb opened this issue Sep 6, 2017 · 3 comments
Closed

Allow passing through arbitrary arguments to different commands #155

victorb opened this issue Sep 6, 2017 · 3 comments
Labels
P2 Medium: Good to have, but can wait until someone steps up

Comments

@victorb
Copy link
Member

victorb commented Sep 6, 2017

As more things like #148 pop-up, where we'd like to customize running the different tools in different environments, it'd be helpful if we could find a way to pass through arguments and parameters to tools without having to change aegir itself.

For example, would be helpful to be able to pass --bail to jest which is run via aegir test but without having to modify the aegir command to add all the jest options.

@victorb
Copy link
Member Author

victorb commented Sep 6, 2017

Applicable both for running via CLI and via .aegir.js

@dignifiedquire
Copy link
Member

How do you expect that to work when calling something like aegir test which calls two very different tools in the background

@victorb
Copy link
Member Author

victorb commented Sep 7, 2017

Hm, spitballing:

aegir test --jest-args "--bail" --mocha-args "--timeout 500"

or something like that.

@daviddias daviddias added status/ready Ready to be worked P2 Medium: Good to have, but can wait until someone steps up labels Oct 13, 2017
@ghost ghost removed the status/ready Ready to be worked label Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Medium: Good to have, but can wait until someone steps up
Projects
None yet
Development

No branches or pull requests

4 participants