./vendor/bin/woodhouse publish \
--badge <phpunit-coverage-textfile> test/report/coverage.txt \
--content test/report/coverage coverage-report \
--content other-content other-destination \
--badge <phpunit-coverage-textfile> <destination>
Publish the appropriate badge image file to <destination> in gh-pages branch.
--content <source> <destination>
Publish <source> to <destination> in gh-pages branch.
Use the token stored in the environment variable given by <environment-variable>. Note the lack of dollar-sign ($) in the example above, woodhouse should read the variable itself to prevent it appearing on the command line history.
Should publish automatically create the gh-pages branch if it does not exist?
Actually not even certain those kind of parameters can be parsed out of the box with symfony/console, might have to be:
Added skeleton for publish command (#1), updated to icecave/testing 1…
Usage would now be something like:
--coverage-phpunit test/report/coverage.txt \
--badge path/on/gh-pages/coverage.png \
Renamed CoverageBadgeSelector -> CoverageImageSelector (#1)
Added coverage reader + factory, skel for publisher, fleshed out publ…
…ish command (#1).
Logic of publish command largely complete (#1)
publish command working (#1)