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 github.com/cloudfoundry-community/info
cf install-plugin $GOPATH/bin/info

Usage

cf info

Sample output

Current User Info
User: admin
Org: dev
Space: dev
API Version: 2.18.0
API Endpoint: https://api.10.244.0.34.xip.io

Note this require cf cli v6.7.0+

Repo: https://github.com/cloudfoundry-community/info

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