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

Add generic --passthrough-args support. #7803

Merged

Conversation

Projects
None yet
3 participants
@jsirois
Copy link
Member

commented May 26, 2019

Now any task that supports_passthru_args() also automatically
registers a --passthrough-args option to allow setting fixed
passthrough args via environment variable or config file.

@stuhood
Copy link
Member

left a comment

Thanks!

Show resolved Hide resolved src/python/pants/task/task.py Outdated

jsirois added some commits May 26, 2019

Add generic --passthrough-args support.
Now any task that `supports_passthru_args()` also automatically
registers a `--passthrough-args` option to allow setting fixed
passthrough args via environment variable or config file.

@jsirois jsirois force-pushed the jsirois:passthrough_args/always_support_option branch from 0e43a08 to 284911f Jun 4, 2019

@stuhood

stuhood approved these changes Jun 4, 2019

@jsirois jsirois merged commit 5590016 into pantsbuild:master Jun 5, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@jsirois jsirois deleted the jsirois:passthrough_args/always_support_option branch Jun 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.