Pivotal/Cloud Foundry/CLI
From r00tedvw.com wiki
(Difference between revisions)
| Line 10: | Line 10: | ||
For good measure you should install git if you have not. | For good measure you should install git if you have not. | ||
<nowiki>~$ brew install git</nowiki> | <nowiki>~$ brew install git</nowiki> | ||
| + | =Quick Reference CF CLI= | ||
| + | [http://cli.cloudfoundry.org/en-US/cf/ CLI Reference] | ||
| + | ==cf-login== | ||
| + | Sign into PWS (Pivotal Web Services).<br> | ||
| + | [http://cli.cloudfoundry.org/en-US/cf/login.html Man file] | ||
| + | <nowiki>~$ cf login -a api.run.pivotal.io</nowiki> | ||
| + | ==cf config== | ||
| + | Set configuration variables such as language, timeouts, color, etc.<br> | ||
| + | [http://cli.cloudfoundry.org/en-US/cf/config.html Man file] | [https://docs.cloudfoundry.org/cf-cli/getting-started.html Localize] | ||
| + | <nowiki>~$ $ cf config --locale YOUR_LANGUAGE | ||
| + | Language Examples: | ||
| + | English (US): en-US | ||
| + | German: de-DE | ||
| + | Spanish: es-ES | ||
| + | </nowiki> | ||
Revision as of 16:16, 15 May 2018
Cloud Foundry | Cloud Foundry CLI
Contents |
Installing CF CLI
Mac OSX (High Sierra)
First start by installing homebrew package manager
~$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Tap the Cloud Foundry repo and install CF CLI
~$ brew tap cloudfoundry/tap ~$ brew install cf-cli
For good measure you should install git if you have not.
~$ brew install git
Quick Reference CF CLI
cf-login
Sign into PWS (Pivotal Web Services).
Man file
~$ cf login -a api.run.pivotal.io
cf config
Set configuration variables such as language, timeouts, color, etc.
Man file | Localize
~$ $ cf config --locale YOUR_LANGUAGE Language Examples: English (US): en-US German: de-DE Spanish: es-ES