A command line tool for downloading and switching between oc binarys
Some command line tooling to download, extract and set the version of oc
on the local system.
Downloads the compressed oc binary to this module and extracts the various oc versions to the following locations
/opt/openshift/
|_ 3.7
|_ 3.9
|_ 3.10
|_ 3.11
|_ 4.1
|_ 4.2
|_ 4.3
|_ 4.4
|_ 4.5
|_ 4.6
Sets the oc binary to execute by symlinking
/usr/bin/oc
Installation from npm
npm install -g change_oc
Installation from source clone and install the repo
git clone https://github.com/austincunningham/change_oc.git
cd change_oc
npm install
From npm run the module
change_oc
From source run the npm start script and follow the onscrean instructions
npm start
npm install
npm publish