basho-labs / riak-mesos-tools

CLI and other tools for interacting with the Riak Mesos Framework.
Apache License 2.0
3 stars 6 forks source link

Optional raw format for `framework endpoints` #57

Open sanmiguel opened 8 years ago

sanmiguel commented 8 years ago

It would be useful (for scripting etc) if there was a way to get the output of riak-mesos framework endpoints without the human-friendly output, currently:

$ riak-mesos framework endpoints
Framework HTTP API: http://ubuntu.local:31068/

I'd like to be able to do:

$ fwhttp=$(riak-mesos framework endpoints --some-option)
$ echo $fwhttp
http://ubuntu.local:31068/
sanmiguel commented 8 years ago

Actually without the trailing-/ would be nicer.