Skip to content

A cf CLI plugin to tell you what version of the cf CLI you should be using based on your cf API

Notifications You must be signed in to change notification settings

JenGoldstrich/cf-cli-version-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cf-cli-version-plugin

A cf CLI plugin to tell you what version of the cf CLI you should be using based on your cf API

Requirements

You need to have added the cf-cl to your GOPATH, this works on CLI v6 or v7

To set up a $GOPATH for the first time see the golang docs

To do this for the first time on a machine with go 1.14+ run mkdir -p $GOPATH/src/code.cloudfoundry.org cd $GOPATH/src/code.cloudfoundry.org git clone [email protected]:cloudfoundry/cli.git cd cli make clean build

Installation

To install this plugin, clone the repo and run make clean build install

Usage

cf detailed-version currently just prints api and CLI version, more dynamic checking is WIP

About

A cf CLI plugin to tell you what version of the cf CLI you should be using based on your cf API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published