This should give you the flexibility you need for customizing your input/output in the CLI.

Building Your Phar

Simply run php package.php, which will create the file: build/doctrine-migrations.phar for you.
Done! :) This is a bit simpler than getting Phing/Ant going and running phing build-migrations and
hoping the rest of the build dependencies work.