The oauth-token command is awesome. However, I cannot use it for inline command executions because it outputs some non token content which means I cannot use it inline with something like curl:
curl -H "Authorization: $(cf oauth-token)" https://api.cf.com/v2/apps
I'd be happy to submit a PR that either removes the "OK" output or add a parameter that when specified removes the "OK" output. Which would you prefer?
Mike