Introducing cf info plugin

Cloud Foundry cli has recently added support for plugin.

A piece of info I often forget is what org/space or even user for that fact that I’m logged in as.

I created this simple plugin that output user info so it is easily visible.

How to Install

go get
cf install-plugin $GOPATH/bin/info


cf info

Sample output

Current User Info
User: admin
Org: dev
Space: dev
API Version: 2.18.0
API Endpoint:

Note this require cf cli v6.7.0+


Edit: turns out…. if you just do cf t it should work even if you don’t try to target anything.

Spread the word

twitter icon facebook icon linkedin icon