refactor Phase option parse: make 'goal help' info available to other tasks

Review Request #181 — Created April 7, 2014 and submitted

lahosken
pants
https://github.com/pantsbuild/pants/issues/27
pants-reviews
travis
It would be nice if Pants' Goal Reference doc showed our command-line flag help*. This change refactors some magic out of the Help task and into helper functions goal/option_helpers.py . There, a doc-generation task could reach it.

* If you look now, http://pantsbuild.github.io/goals_reference.html already shows command-line help. But that's just because I got it working once and have been careful not to overwrite it since.
./pants goal help compile shows same flags
./build-support/bin/ci.sh SUCCESS
LA
LA
LA
LA
LA
TR
  1. Ship It!
  2. 
      
LA
Review request changed

Status: Closed (submitted)

Loading...