Allow more succinct invocations with passthru args.

Review Request #1323 - Created Nov. 12, 2014 and submitted

Information
Benjy Weinberger
pants
ba01c3f...
Reviewers
pants-reviews
ity, jsirois, patricklaw, zundel

If passthru args "belong" to a goal scope then all tasks in that goal get them.

E.g., you can do:

pants goal run <python-target> -- passthru args

and the run.py task will get the passthru args. So will run.jvm, but that's OK
because it's a no-op for <python-target>.

This obviously is only good when in practice only one passthru-arg-supporting
task in that goal is not a no-op. However that is the common case.


  
Nick Howard (Twitter)
Patrick Lawson
Benjy Weinberger
Eric Ayers
Benjy Weinberger
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted as b86be0e006136dcf7d721c8adef0278634a67a8d.
Loading...