pantheon-systems/terminus — pull request #134 by eiriksm (2014-04-16 08:30:17+00:00)
Title: Add compact option to site-uuid.

Hey guys!

Great work on this stuff!

OK, here goes:

Having psite-uuid outputting only the uuid is super useful for scripting, as pointed out in #133.

One can always bash hack around, as that issue shows. But adding an option does not break any current functionality and adds the features we all want (scripting abilities).

This patch exposes a --compact option to the command, which outputs only site uuid.

Also, the README uses psite-uuid and expects only the uuid to come back, which is not working (the example). Should be updated to, but waiting for some response on this before I send a pull request for that :)