A command-line argument splitter.

Review Request #810 — Created July 31, 2014 and submitted

benjyw
pants
pants-reviews
patricklaw
Splits a Pants command line into a set of scoped flags and a set of targets.

Not wired up to anything yet.
Ran all unittests. CI baking. This is low risk though as nothing hooks up to it yet.
PA
  1. lgtm!
  2. src/python/pants/option/arg_splitter.py (Diff revision 1)
     
     
    This could be written as a generator, but it wouldn't buy you much and you'd always have to guard it with list()
  3. 
      
BE
Review request changed

Status: Closed (submitted)

Loading...