diff --git a/README.md b/README.md
index 2aedc4e..22a352a 100644
--- a/README.md
+++ b/README.md
@@ -2,16 +2,15 @@
This is a guide to the cf CLI for Cloud Foundry developers and users. The cf CLI runs on your local machine to direct a CF deployment in a cloud infrastructure.
-The contents of this guide used to be in the GitHub repo subdirectory cloudfoundry/docs-dev-guide/cf-cli.
-
This repo is one of several doc repositories that go into a complete documentation set.
-The contents here are structured as a topic repository intended to be compiled
-into a larger document with
-[Bookbinder](http://github.com/cloudfoundry-incubator/bookbinder).
-
-See the [docs-book-cloudfoundry](http://github.com/cloudfoundry/docs-book-cloudfoundry)
-repo for the complete list of open source documentation repositories, as well as
-information about the publishing process.
+This branch is published through the [docs-book-application-service](https://github.gwd.broadcom.net/TNZ/docs-book-application-service) repository.
+>**Note**: This repo is not used after Tanzu Platform for Cloud Foundry 10.0.
+| Branch | EART version | Doc Link |
+|---------|---------------|---------------|
+| tcf-10 | TPCF 10.0 | archived PDF |
+| TAS-6.0 | TAS 6.0 | [TAS v6.0](https://techdocs.broadcom.com/us/en/vmware-tanzu/platform/tanzu-platform-for-cloud-foundry/6-0/tpcf/concepts-overview.html) |
+| TAS-5.0 | TAS 5.0 | archived PDF |
+| 22.0 | TAS 4.0 | archived PDF |
diff --git a/develop-cli-plugins.html.md.erb b/develop-cli-plugins.html.md.erb
index 6e990ab..5885fd4 100644
--- a/develop-cli-plugins.html.md.erb
+++ b/develop-cli-plugins.html.md.erb
@@ -1,15 +1,15 @@
---
-title: Developing cf CLI plug-ins
+title: Developing Tanzu cf CLI plug-ins
owner: CLI
---
-You can create and install cf CLI plug-ins to provide custom commands. You can submit and share these plug-ins to the [CF Community repository](https://plugins.cloudfoundry.org/).
+You can create and install Tanzu cf CLI plug-ins to provide custom commands. You can submit and share these plug-ins to the [CF Community repository](https://plugins.cloudfoundry.org/).
## Prerequisite
-To use plug-ins, you must use cf CLI v7 or later. For information about downloading, installing, and uninstalling tcf CLI commands, see [Installing the Cloud Foundry Command Line Interface](install-go-cli.html).
+For information about downloading, installing, and uninstalling Tanzu cf CLI commands, see [Installing the Tanzu cf CLI](../operating/cf-cli/install-cf-cli.html).
## Creating a plug-in
@@ -33,9 +33,9 @@ To initialize a plug-in:
The `plugin.Start(...)` function requires a new reference to the `struct` that implements the defined interface.
-## Invoking cf CLI commands
+## Invoking Tanzu cf CLI commands
-To invoke cf CLI commands,
+To invoke Tanzu cf CLI commands:
1. From within the `Run(...)` method of your plug-in, call:
diff --git a/getting-started.html.md.erb b/getting-started.html.md.erb
index b8d317b..e8fdb43 100644
--- a/getting-started.html.md.erb
+++ b/getting-started.html.md.erb
@@ -4,12 +4,12 @@ owner: CLI
---
-The cf CLI is the official command line client for Cloud Foundry. You can use the cf CLI to manage apps, service instances, orgs, spaces, and users in your environment.
+The Tanzu cf CLI is the official command line client for Cloud Foundry. You can use the cf CLI to manage apps, service instances, orgs, spaces, and users in your environment.
## Prerequisite
-To follow the procedures in this topic, you must download and install the latest version of the cf CLI v7 or v8. For more information, see [Installing the Cloud Foundry command line interface](install-go-cli.html).
+To follow the procedures in this topic, you must download and install the latest version of the cf CLI. For more information, see [Installing the Cloud Foundry command line interface](../operating/cf-cli/install-cf-cli.html).
## Log in with the CLI
@@ -56,7 +56,7 @@ Org: example-org
Space: development
-Alternatively, you can write a script to log in and set your target using the non-interactive [cf api](http://cli.cloudfoundry.org/en-US/cf/api.html), [cf auth](http://cli.cloudfoundry.org/en-US/cf/auth.html), and [cf target](http://cli.cloudfoundry.org/en-US/cf/target.html) commands. See [UAAC](https://github.com/cloudfoundry/cf-uaac/blob/master/README.md) for setting up `client_id` and `client_secret`.
+Alternatively, you can write a script to log in and set your target using the non-interactive `cf api`, `cf auth`, and `cf target` commands. See [UAAC](https://github.com/cloudfoundry/cf-uaac/blob/master/README.md) for setting up `client_id` and `client_secret`.
## Log in with the API
@@ -72,7 +72,7 @@ To write a script to log in:
Where `API-URL` is your API endpoint, <%= vars.api_endpoint %>.
- For more information about the `cf api` command, see the [Cloud Foundry CLI Reference Guide](http://cli.cloudfoundry.org/en-US/cf/api.html).
+ For more information about the `cf api` command, use `cf api --help`.
1. Authenticate by running:
@@ -85,7 +85,7 @@ To write a script to log in:
PASSWORD is your password. <%= vars.company_name %> discourages using the -p option, because it records your password in your shell history.SPACE is the space you want to target.The user exists in multiple origins. Specify an origin for the requested user from: ‘uaa’, ‘other’To resolve this ambiguity, you can construct a `curl` command that uses the API to perform the desired role management function. For an example, see the -[Cloud Foundry API documentation](http://apidocs.cloudfoundry.org/280/organizations/associate_auditor_with_the_organization_by_username.html). +[Cloud Foundry API documentation](https://v3-apidocs.cloudfoundry.org/version/3.169.0/index.html#create-a-role). ## Push an app These sections describe how to use the `cf push` command to push a new app or sync changes to an existing app. -For more information about the `cf push` command, see the [Cloud Foundry CLI Reference Guide](http://cli.cloudfoundry.org/en-US/cf/push.html). +For more information about the `cf push` command, use `cf push --help`. ### Push a new app or push changes to an app @@ -309,12 +309,12 @@ of instances. You can use a manifest file rather than adding flags to the `cf pu `cf push` locates the `manifest.yml` file in the current working directory by default. Alternatively, you can provide a path to the manifest with the `-f` flag. -For more information about the `-f` flag, see the [Cloud Foundry CLI Reference Guide](http://cli.cloudfoundry.org/en-US/cf/push.html). +For more information about the `-f` flag, see the `cf push --help` output.
Note
When you provide an app name at the command line, the cf push command uses that app
-name regardless of whether there is a different app name in the manifest. If the manifest configures multiple apps, you can push a
+name instead of any app name provided in the manifest. If the manifest configures multiple apps, you can push a
single app by providing thenname at the command line; the cf CLI does not push the others. Use these behaviors for testing.
@@ -361,7 +361,9 @@ based on Ubuntu 18.04 (Bionic Beaver), which reaches end of standard support in
### Map a route to an app
-You can provide a hostname for your app when you push the app. If you do not provide a hostname, the `cf push` command routes your app to a URL of the form `APP-NAME.DOMAIN`, where `APP-NAME` is the name of your app and `DOMAIN` is your default domain. The route definition is included in the `manifest.yml` file.
+You can provide a hostname for your app when you push the app. If you do not provide a hostname, the `cf push` command routes your app to a URL of the form
+`APP-NAME.DOMAIN`, where `APP-NAME` is the name of your app and `DOMAIN` is the default domain configured in the Cloud Foundry environment. The route definition is
+included in the `manifest.yml` file.
For information about mapping a route to your app, see [Routes and domains](../devguide/deploy-apps/routes-domains.html).
@@ -393,8 +395,7 @@ These sections describe how to create or update a service instance.
### Create a service instance
To create a new service instance, use the `cf create-user-provided-service` or `cf cups` commands. For more information about the
-`cf create-user-provided-service` and `cf cups` commands, see the [Cloud Foundry CLI Reference
-Guide](http://cli.cloudfoundry.org/en-US/cf/create-user-provided-service.html).
+`cf create-user-provided-service` and `cf cups` commands, use `cf create-user-provided-service --help`.
To create or update a user-provided service instance, you must supply basic parameters. For example, a database service might require a username, password,
host, port, and database name.
@@ -483,24 +484,19 @@ To create a service instance that sends data to a third party:
After you create a user-provided service instance, you can:
-* Bind the service to an app with `cf bind-service`. For more information, see the [Cloud Foundry CLI Reference
-Guide](http://cli.cloudfoundry.org/en-US/cf/bind-service.html).
+* Bind the service to an app with `cf bind-service`. For more information, use `cf bind-service --help`.
-* Unbind the service with `cf unbind-service`. For more information, see the [Cloud Foundry CLI Reference
-Guide](http://cli.cloudfoundry.org/en-US/cf/unbind-service.html).
+* Unbind the service with `cf unbind-service`. For more information, use `cf unbind-service --help`.
-* Rename the service with `cf rename-service`. For more information, see the [Cloud Foundry CLI Reference
-Guide](http://cli.cloudfoundry.org/en-US/cf/rename-service.html).
+* Rename the service with `cf rename-service`. For more information, use `cf rename-service --help`.
-* Delete the service with `cf delete-service`. For more information, see the [Cloud Foundry CLI Reference
-Guide](http://cli.cloudfoundry.org/en-US/cf/delete-service.html).
+* Delete the service with `cf delete-service`. For more information, use `cf delete-service --help`.
### Update a service instance
To update one or more of the parameters for an existing user-provided service instance, use `cf update-user-provided-service` or `cf uups`.
-For more information about the `cf update-user-provided-service` and `cf uups` commands, see the [Cloud Foundry CLI Reference
-Guide](http://cli.cloudfoundry.org/en-US/cf/update-user-provided-service.html).
+For more information about the `cf update-user-provided-service` and `cf uups` commands, use `cf create-user-provided-service --help`.
The cf uups command does not update any parameter values that you do not supply.
@@ -518,7 +514,7 @@ To view a cf CLI exit code:
```
1. To check that the login was successful, run one of these commands, depending on your OS:
- * For Mac OS, run:
+ * For macOS, run:
```
echo $?
@@ -534,10 +530,9 @@ If the command succeeds, the exit code is `0`.
## View CLI help output
-The `cf help` command lists the cf CLI commands and a brief description of each. For more information, see the [Cloud Foundry CLI Reference
-Guide](http://cli.cloudfoundry.org/en-US/cf/help.html).
+The `cf help` command lists the cf CLI commands and a brief description of each..
-To list detailed help for any cf CLI command, add the `-h` flag to the command.
+To list detailed help for any cf CLI command, add the `--help` or `-h` flag to the command.
The example below shows detailed help output for the `cf delete` command:
diff --git a/http-proxy.html.md.erb b/http-proxy.html.md.erb
index 84518da..f534ae9 100644
--- a/http-proxy.html.md.erb
+++ b/http-proxy.html.md.erb
@@ -1,55 +1,55 @@
---
-title: Using the cf CLI with a proxy server
+title: Using the Tanzu cf CLI with a proxy server
owner: CLI
---
-If you have an HTTP or SOCKS5 proxy server on your network between a host running the cf CLI and your API endpoint, you must set `https_proxy` with the hostname or IP address of the proxy server. The `https_proxy` environment variable holds the hostname or IP address of your proxy server.
+If you have an HTTP or SOCKS5 proxy server on your network between a host running the Tanzu cf CLI and your API endpoint, you must
+set the `https_proxy` variable with the hostname or IP address of the proxy server. The `https_proxy` environment variable holds the hostname or IP address of the
+proxy server.
-The `https_proxy` is a standard environment variable. As with any environment variable, the specific steps you use to set it depends on your operating system.
+The `https_proxy` variable is a standard environment variable. As with any environment variable, the specific steps used to set it depends on your operating
+system.
## Format of https_proxy
-The `https_proxy` variable is set with hostname or IP address of the proxy server in URL format, as in the following example:
+The `https_proxy` variable is set with hostname or IP address of the proxy server in URL format, as shown in the following example:
```
https_proxy=http://proxy.example.com
```
-If the proxy server requires a username and password, you must include the credentials, as in the following example:
+If the proxy server requires a username and password, you must include the credentials, as shown in the following example:
```
https_proxy=http://username:password@proxy.example.com
```
-If the proxy server uses a port other than 80, you must include the port number, as in the following example:
+If the proxy server uses a port other than 80, you must include the port number, as shown in the following example:
```
https_proxy=http://username:password@proxy.example.com:8080
```
-If the proxy server is a SOCKS5 proxy, you must specify the SOCKS5 protocol in the URL, as in the following example:
+If the proxy server is a SOCKS5 proxy, you must specify the SOCKS5 protocol in the URL, as shown in the following example:
```
https_proxy=socks5://socks_proxy.example.com
```
-The cf ssh command for cf CLI v7 does not work through a SOCKS5 proxy.
+## Set https_proxy in macOS or Linux
+To set the `https_proxy` environment variable in macOS or Linux:
-## Set https_proxy in Mac OS or Linux
-
-To set the `https_proxy` environment variable in Mac OS or Linux:
-
-1. Use the command specific to your shell. For example, in bash, use the `export` command, as in the following example:
+1. Use the command specific to your shell. For example, in bash, use the `export` command, as shown in the following example:
```
export https_proxy=http://my.proxyserver.com:8080
```
1. To make this change persistent, add the command to the appropriate profile file for the shell. For example, in bash, add a
-line like the following example to your `.bash_profile` or `.bashrc` file:
+line similar to the following example to your `.bash_profile` or `.bashrc` file:
```
https_proxy=http://username:password@hostname:port
diff --git a/index.html.md.erb b/index.html.md.erb
index fb58b0f..94d63a8 100644
--- a/index.html.md.erb
+++ b/index.html.md.erb
@@ -1,15 +1,16 @@
---
-title: Using the Cloud Foundry Command Line Interface (cf CLI)
+title: Using the cf CLI
owner: CLI
---
-These topics explain the Cloud Foundry Command Line Interface (cf CLI), a tool used to deploy and manage apps.
+These topics explain the cf CLI, a tool used to deploy and manage apps.
## Table of Contents
-* [Installing the cf CLI](install-go-cli.html).
-* [Getting Started with the cf CLI](getting-started.html).
-* [Using the cf CLI with an HTTP proxy server](http-proxy.html).
-* [Using the cf CLI with a self-signed certificate](self-signed.html).
-* [Using cf CLI plug-ins](use-cli-plugins.html).
-* [Developing cf CLI plug-ins](develop-cli-plugins.html).
+* [Installing the cf CLI](install-go-cli.html)
+* [Upgrading to cf CLI v8](v8.html)
+* [Getting started with the cf CLI](getting-started.html)
+* [Using the cf CLI with a proxy server](http-proxy.html)
+* [Using the cf CLI with a self-signed certificate](self-signed.html)
+* [Using cf CLI plug-ins](use-cli-plugins.html)
+* [Developing cf CLI plug-ins](develop-cli-plugins.html)
diff --git a/install-go-cli.html.md.erb b/install-go-cli.html.md.erb
index c994229..3d2fa56 100644
--- a/install-go-cli.html.md.erb
+++ b/install-go-cli.html.md.erb
@@ -3,7 +3,8 @@ title: Installing the cf CLI
owner: CLI
---
-The cf CLI is the official command line client for Cloud Foundry.
+The Cloud Foundry Command Line Interface (cf CLI) is the official command line client for Cloud Foundry. Use the cf CLI to interact with Cloud Foundry applications
+and services.
The following procedures describe how to install the cf CLI on your operating system. You can install the cf CLI with a package manager, an installer, or a compressed binary.
@@ -11,12 +12,12 @@ For more information about how to use the cf CLI, see [Getting Started with cf C
To learn when cf CLI updates are released and to download a new binary or installer, see [Releases](https://github.com/cloudfoundry/cli/releases) in the Cloud Foundry CLI repository on GitHub.
-There are currently two major versions of the cf CLI: v7 and v8. See [the README](https://github.com/cloudfoundry/cli/blob/master/README.md) to decide which version to use.
+The cf CLI is at version v8. See the [README](https://github.com/cloudfoundry/cli/blob/master/README.md) for more information.
## Prerequisites
-If you previously used the cf CLI Ruby gem, you must uninstall the gem before installing the cf CLI.
+If you have previously used the cf CLI Ruby gem, you must uninstall it before installing the cf CLI.
To uninstall the gem:
@@ -29,7 +30,7 @@ To uninstall the gem:
## Install the cf CLI using a package manager
-These sections describe how to install the cf CLI using a package manager. You can install the cf CLI using a package manager on Mac OS X and Linux operating systems.
+These sections describe how to install the cf CLI using a package manager. You can install the cf CLI using a package manager on macOS X and Linux operating systems.
### Linux installation
@@ -39,17 +40,13 @@ To install the cf CLI on Debian and Ubuntu-based Linux distributions:
1. Add the Cloud Foundry Foundation public key and package repository to your system by running:
- wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -
- echo "deb https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
+ wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo gpg --dearmor -o /usr/share/keyrings/cli.cloudfoundry.org.gpg
+ echo "deb [signed-by=/usr/share/keyrings/cli.cloudfoundry.org.gpg] https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
1. Update your local package index by running:
sudo apt-get update
-1. To install **cf CLI v7**, run:
-
- sudo apt-get install cf7-cli
-
1. To install **cf CLI v8**, run:
sudo apt-get install cf8-cli
@@ -61,9 +58,6 @@ To install the cf CLI on Enterprise Linux and Fedora RHEL6/CentOS6 and later dis
sudo wget -O /etc/yum.repos.d/cloudfoundry-cli.repo https://packages.cloudfoundry.org/fedora/cloudfoundry-cli.repo
-1. To install **cf CLI v7**, run:
-
- sudo yum install cf7-cli
1. To install **cf CLI v8**, run:
@@ -71,18 +65,14 @@ To install the cf CLI on Enterprise Linux and Fedora RHEL6/CentOS6 and later dis
This also downloads and adds the public key to your system.
-### Mac OS X installation
+### macOS X installation
-You can install the cf CLI on Mac OS X operating systems using the Homebrew package manager.
+You can install the cf CLI on macOS X operating systems using the Homebrew package manager.
-To install the cf CLI for Mac OS X using Homebrew:
+To install the cf CLI for macOS X using Homebrew:
1. Install Homebrew. For instructions, see [Install Homebrew](http://brew.sh/) on the Homebrew website.
-1. To install **cf CLI v7**, run:
-
- brew install cloudfoundry/tap/cf-cli@7
-
1. To install **cf CLI v8**, run:
brew install cloudfoundry/tap/cf-cli@8
@@ -95,21 +85,21 @@ To install the cf CLI for Mac OS X using Homebrew:
## Install the cf CLI using a compressed binary
-You can install the cf CLI using a compressed binary on Windows, Mac OS X, and Linux operating systems.
-In cases where security concerns are paramount, using this method can be a better option than installing from a repository.
+You can install the cf CLI using a compressed binary on Windows, macOS X, and Linux operating systems.
+This method can be a more secure option compared to installing from a repository, especially in environments where security is a primary concern.
Note -As of CF CLI 8.4.0 and CF CLI 7.5.0, the Apple ARM architecture is now supported for installation of CF CLI. This is possible on newer MACs that use M1 and M2 processors. For systems running the M1 processor, CF CLI can now be installed without use of an emulator. +As of cf CLI 8.4.0 and cf CLI 7.5.0, the Apple ARM architecture is now supported for installation of cf CLI. This is possible on newer MACs that use M1 and M2 processors. For systems running the M1 processor, cf CLI can now be installed without use of an emulator.
-For more information about downloading and installing a compressed binary for cf CLI v7 or cf CLI v8, see [Installers and compressed binaries](https://github.com/cloudfoundry/cli/wiki/V8-CLI-Installation-Guide#installers-and-compressed-binaries). +For more information about downloading and installing a compressed binary for cf CLI v8, see [Installers and compressed binaries](https://github.com/cloudfoundry/cli/wiki/V8-CLI-Installation-Guide#installers-and-compressed-binaries). ## Verify installation To verify the installation of the cf CLI: -1. Close and reopen the command prompt. Or, open a new tab in the command prompt. +1. Close and reopen the command prompt, or open a new tab in the command prompt terminal. 1. Run: @@ -130,7 +120,7 @@ If you installed the cf CLI with a package manager, follow the instructions spec If you installed the cf CLI with an installer, follow the procedure in this section that is specific to your operating system. -To uninstall the cf CLI on Mac OS X: +To uninstall the cf CLI on macOS X: 1. Delete the binary `/usr/local/bin/cf`. diff --git a/self-signed.html.md.erb b/self-signed.html.md.erb index f5a8852..bc0057f 100644 --- a/self-signed.html.md.erb +++ b/self-signed.html.md.erb @@ -1,17 +1,17 @@ --- -title: Using the cf CLI with a self-signed certificate +title: Using the Tanzu cf CLI with a self-signed certificate owner: CLI --- -This topic describes how developers use the Cloud Foundry Command Line Interface (cf CLI) -to communicate securely with a Cloud Foundry deployment with a self-signed certificate. +This topic describes how developers use the Tanzu cf CLI +to communicate securely with a Cloud Foundry deployment that uses a self-signed certificate. -You can use the cf CLI to communicate securely with a Cloud Foundry deployment without +You can use the Tanzu cf CLI to communicate securely with a Cloud Foundry deployment without specifying `--skip-ssl-validation` under the following conditions: * The deployment uses a self-signed certificate. -* The deployment uses a certificate that is signed by a self-signed certificate authority (CA), or a certificate signed by a certificate that is signed by a self-signed CA. +* The deployment uses a certificate that is signed by a self-signed certificate authority (CA), or by an intermediate certificate that is also signed by a self-signed CA. <%= vars.self_signed %> @@ -22,11 +22,11 @@ The certificates you must insert into your local trust store vary depending on t * If the deployment uses a self-signed certificate, you must insert the self-signed certificate into your local trust store. -* If the deployment uses a certificate that is signed by a self-signed CA, or a certificate signed by a certificate that is signed by a self-signed CA, you must insert the self-signed certificate and any intermediate certificates into your local trust store. +* If the deployment uses a certificate signed by a self-signed CA, or a certificate signed by a certificate that is signed by a self-signed CA, you must insert the self-signed certificate and any intermediate certificates into your local trust store. -### Installing the Certificate on Mac OS X +### Installing the Certificate on macOS X -To place the certificate file `server.crt` into your local trust store for Mac OS X: +To place the certificate file `server.crt` into your local trust store for macOS X: 1. Run: diff --git a/use-cli-plugins.html.md.erb b/use-cli-plugins.html.md.erb index 190c84b..3dc02ad 100644 --- a/use-cli-plugins.html.md.erb +++ b/use-cli-plugins.html.md.erb @@ -1,30 +1,29 @@ --- -title: Using a cf CLI plug-in +title: Using a Tanzu cf CLI plug-in owner: CLI --- -The Cloud Foundry CLI (cf CLI) includes plug-in capability. The plug-in allows you to add custom commands to the cf CLI. +The Tanzu cf CLI includes plug-in capability. Plug-ins allow you to add custom commands to the Tanzu cf CLI. You can install and use the plug-in that Cloud Foundry developers and third-party developers create. For a current list of community-supported plug-ins, see the [Cloud Foundry Community CLI Plug-in page](https://plugins.cloudfoundry.org). For information about submitting your own plug-in, see the [Cloud Foundry CLI Plugin Repository (CLIPR)](https://github.com/cloudfoundry-incubator/cli-plugin-repo) repository on GitHub.-Important -Plug-ins are not vetted, including for security or function. Use plug-ins at your own risk.
+Plug-ins are not vetted for security or function. Use plug-ins at your own risk. -The cf CLI identifies a plug-in by binary filename, its developer defined plug-in name, and the commands that the plug-in provides. Use the binary filename only to install a plug-in. You use the plug-in name or a command for any other action. +The Tanzu cf CLI identifies a plug-in by binary filename, its developer defined plug-in name, and the commands that the plug-in provides. Use the binary filename only to install a plug-in. You use the plug-in name or a command for any other action. -The cf CLI uses case sensitive commands, but plug in management commands accept plug-in and repository names +The Tanzu cf CLI uses case-sensitive commands, but plug-in management commands accept plug-in and repository names irrespective of their casing. ## Changing the plug-in directory -By default, the cf CLI stores plug-ins on your workstation in `$CF_HOME/.cf/plugins`, which defaults to `$HOME/.cf/plugins`. +By default, the Tanzu cf CLI stores plug-ins on your workstation in `$CF_HOME/.cf/plugins`, which defaults to `$HOME/.cf/plugins`. To change the root directory of this path from `$CF_HOME`, you must set the `CF_PLUGIN_HOME` environment variable. -The cf CLI appends `.cf/plugins` to the `CF_PLUGIN_HOME` path that you specify and stores plug ins in that location. For example, if you set `CF_PLUGIN_HOME` to `/my-folder`, cf CLI stores plug-ins in `/my-folder/.cf/plugins`. +The Tanzu cf CLI appends `.cf/plugins` to the `CF_PLUGIN_HOME` path that you specify and stores plug ins in that location. For example, if you set `CF_PLUGIN_HOME` to `/my-folder`, Tanzu cf CLI stores plug-ins in `/my-folder/.cf/plugins`. ## Installing a plug-in @@ -33,7 +32,7 @@ To install a plug-in: 1. Download a binary or the source code for a plug-in from a trusted provider. - The cf CLI requires a binary file compiled from source code written in Go. If you download source code, you must compile the code to create a binary. + The Tanzu cf CLI requires a binary file compiled from source code written in Go. If you download source code, you must compile the code to create a binary. 2. Run: @@ -44,9 +43,9 @@ To install a plug-in: You cannot install a plug in that has the same name or that uses the same command as an existing plugin. If you attempt to do so, you are prompted to uninstall the existing plugin. - The cf CLI prohibits you from implementing any plug-in that uses a native cf CLI command name or alias. For example, if you attempt to install a third-party plugin that includes thecf push command, the cf CLI halts the installation.
+ The Tanzu cf CLI prohibits you from implementing any plug-in that uses a native cf CLI command name or alias. For example, if you attempt to install a third-party plugin that includes the cf push command, the cf CLI halts the installation.
-For more information, see [install-plugin](http://cli.cloudfoundry.org/en-US/cf/install-plugin.html) in the _Cloud Foundry CLI Reference Guide_.
+For more information, use `cf install-plugin --help`.
## Managing plug-ins and running plug-in commands
@@ -65,7 +64,7 @@ To manage plug-ins and run plug-in commands:
```
cf PLUGIN-COMMAND
```
- Where `PLUGIN-COMMAND` is the plug-in command you ran.
+ Where `PLUGIN-COMMAND` is the plug-in command that you want to run.
## Checking for plug-in updates
@@ -87,7 +86,7 @@ To check all registered plug-in repositories for newer versions of currently ins
Use 'cf install-plugin' to update a plugin to the latest version.
-For more information about the `cf plugins` command, see [cf plugins](http://cli.cloudfoundry.org/en-US/cf/plugins.html) in the _Cloud Foundry CLI Reference Guide_.
+For more information about the `cf plugins` command, use `cf plugins --help`.
## Uninstalling a plug-in
@@ -107,9 +106,9 @@ To uninstall a plug-in:
```
Where `PLUGIN-NAME` is the name of the plug-in you want to uninstall.
- You must use the name of the plug-in to uninstall it, not the binary filename.
+ You must use the name of the plug-in, not the binary filename, to uninstall it.
-For more information, see [uninstall-plugin](http://cli.cloudfoundry.org/en-US/cf/uninstall-plugin.html) in the _Cloud Foundry CLI Reference Guide_.
+For more information, use `cf uninstall-plugin --help`.
## Adding a plug-in repository
@@ -120,9 +119,9 @@ To add a plug-in repository:
```
cf add-plugin-repo REPOSITORY-NAME-URL
```
- Where `REPOSITORY-NAME-URL` is the URL of the plug-in repository you want to add.
+ Where `REPOSITORY-NAME-URL` is the URL of the plug-in repository that you want to add.
-For more information, see [add-plugin-repo](http://cli.cloudfoundry.org/en-US/cf/add-plugin-repo.html) in the _Cloud Foundry CLI Reference Guide_.
+For more information, use `cf add-plugin-repo --help`.
## Viewing available plug-in repositories
@@ -135,7 +134,7 @@ To view your available plug-in repositories:
cf list-plugin-repos
```
-For more information, see [list-plugin-repos](http://cli.cloudfoundry.org/en-US/cf/list-plugin-repos.html) in the _Cloud Foundry CLI Reference Guide_.
+For more information, use `cf list-plugin-repos --help`.
## Listing all plug-ins by repository
@@ -148,12 +147,12 @@ To show all plug-ins from all available repositories:
cf repo-plugins
```
-For more information, see [repo-plugins](http://cli.cloudfoundry.org/en-US/cf/repo-plugins.html) in the _Cloud Foundry CLI Reference Guide_.
+For more information, use `cf repo-plugins --help`.
## Troubleshooting
-The cf CLI provides the following error messages to help you troubleshoot installation and usage issues. Third party plug-ins provide their own error messages.
+The Tanzu cf CLI provides the following error messages to help you troubleshoot installation and usage issues. Third-party plug-ins provide their own error messages.
### Permission denied
@@ -165,4 +164,4 @@ Plug-in names and commands must be unique. The CLI displays an error message if
If the plug-in has the same name or command as a currently installed plug-in, you must uninstall the existing plug-in to install the new plug-in.
-If the plug-in has a command with the same name as a native cf CLI command or alias, you cannot install the plug-in.
+If the plug-in has a command with the same name as a native Tanzu cf CLI command or alias, you cannot install the plug-in.
diff --git a/v7.html.md.erb b/v7.html.md.erb
deleted file mode 100644
index 88a021f..0000000
--- a/v7.html.md.erb
+++ /dev/null
@@ -1,503 +0,0 @@
----
-title: Upgrading to cf CLI v7
-owner: VAT
----
-
-
-The main goal of Cloud Foundry CLI (cf CLI) v7 and CAPI V3 is to unlock new app developer workflows for users who require granular control of their apps and other advanced deployment strategies. For more information, see [New Workflows Supported](#new-workflows) below. These workflows were previously limited by CAPI V2.
-
-The cf CLI development team aims to provide:
-
-* A seamless upgrade experience from cf CLI v6. Changes have been kept to a minimum. Where there are changes, the team has incorporated feedback from the community to simplify the cf CLI user experience.
-
-* Details about breaking potential breaking changes and alternative workflows for scripting environments.
-
-To understand the differences between specific commands, see [Command Differences](#differences) below.
-
-For more information about CAPI V3, see the [CAPI V3 documentation](https://v3-apidocs.cloudfoundry.org/index.html#introduction). For more information about CAPI V2, see the [CAPI V2 documentation](http://apidocs.cloudfoundry.org/).
-
-## New workflows supported by cf CLI v7
-
-cf CLI v7 uses CAPI V3, which offers developers more granular control over their apps. It activates new workflows by exposing packages, droplets, builds, and processes. CAPI V3 also includes new resources. For example, sidecars, manifests, and deployments.
-
-Some key new features available with the cf CLI v7 are:
-
-* [Rolling App Deployments](../devguide/deploy-apps/rolling-deploy.html): Push updates to apps without incurring downtime.
-
-* [Running cf push Sub-Step Commands](../devguide/push-sub-commands.html): Exercise granular control over the cf push process. These commands break down the cf push process into sub steps that can run independently.
-
-* [Pushing an App with Multiple Processes](../devguide/multiple-processes.html): Use a single command to push apps that run multiple processes. An example is a web app that has a UI process and a worker process.
-
-* [Pushing Apps with Sidecar Processes](../devguide/sidecars.html): Run additional processes in the same container as your app.
-
-* [Using Metadata](../adminguide/metadata.html): Add metadata to objects, for example, spaces, and apps. This helps with operating, monitoring, and auditing.
-
-
-## Installing cf CLI v7
-
-To install cf CLI v7, see the [README](https://github.com/cloudfoundry/cli#downloads) in the Cloud Foundry CLI repository on GitHub. It includes instructions for downloading the latest CAPI release candidate, which is what the cf CLI v7 beta is tested against.
-
-### Prerequisites
-
-The cf CLI v7 requires [cf-deployment](https://github.com/cloudfoundry/cf-deployment) v13.5.0 or later.
-
-This version of cf-deployment contains CAPI release v1.95.0, which provides the CAPI V3 API v3.85.0.
-
-For more information, see the [CAPI release notes](https://github.com/cloudfoundry/capi-release) and the [Cloud Controller release notes](https://github.com/cloudfoundry/cloud_controller_ng) on GitHub.
-
-If you target an later version of cf-deployment, cf CLI v7 presents a warning saying that the API version is less than the minimum supported.
-Not all commands run correctly.
-For example, `cf apps` does not work.
-
-
-## Command differences
-
-These sections describe changes in commands from cf CLI v6 to cf CLI v7. They also provide important information for those who use the cf CLI in scripts.
-
-For information about possible breaking changes, see the [Table of Differences](#table) below. This table includes removed flag options, removed commands, and removed or changed argument requirements.
-
-### About scripting
-
-If you have scripts that rely on the cf CLI, this section describes possible changes in cf CLI v7 which might affect scripts.
-
-Some of these changes are:
-
-* In cf CLI v7, if your scripts parse error text, output text errors are returned directly from CAPI. Where possible, cf CLI v7 no longer wraps errors it receives from the API.
-
-* cf CLI v7 commands output errors and warnings to `stderr` rather than `stdout` to simplify debugging.
-
-* Style changes including flavor text updates. For more information, see [Colors](https://github.com/cloudfoundry/cli/wiki/CF-CLI-Style-Guide#colors) in _CF CLI Style Guide_ in the Cloud Foundry CLI repository on GitHub.
-
-* Key-value and table column headers are displayed in lowercase.
-
-* Single-quote resource names appear in error cases.
-
--Caution -If the services attribute is declared at the top-level of the manifest.yml file, cf CLI v6 generates a warning, but in cf CLI v7, there is no warning and the app is still pushed.
- -### Exit codes - -cf CLI v7 attempts to consistently apply the principles of idempotency across all commands which require it. For more information, see [General Principles](https://github.com/cloudfoundry/cli/wiki/CF-CLI-Style-Guide#general-principles) in _CF CLI Style Guide_ in the Cloud Foundry CLI repository on GitHub. Commands now exit `0` if the outcome a user expresses when running a specific command is unchanged after the command is executed. Examples include: - -* Attempting to delete a resource which does not exist, for example, a space. Commands like `delete-route` and `delete-space` return `0` in those cases. - -* If the `create-buildpack` command fails to create a buildpack, the command exits with `1` instead of `0`, which is the current cf CLI v6 behavior. - -### Table of differences - -The following table summarizes how commands differ between cf CLI v7 and cf CLI v6. - -| Command | -Changes | -
|---|---|
cf add-network-policy |
-
-
|
-
cf apps |
-
-
|
-
cf bind-security-group |
-
-
|
-
cf check-route |
-
-
|
-
cf create-buildpack |
-
-
|
-
cf create-domain |
-
-
|
-
cf create-org |
-
-
|
-
cf create-quota |
-
-
|
-
cf create-space |
-
-
|
-
cf create-route |
-
-
|
-
cf create-service-auth-token |
- This command is removed. | -
cf create-service-broker |
-
-
|
-
cf create-user |
-
-
|
-
cf delete |
-
-
|
-
cf delete-domain |
-
-
|
-
cf delete-org |
-
-
|
-
cf delete-quota |
-
-
|
-
cf delete-service-auth-token |
- This command is removed. | -
cf domains |
-
-
|
-
cf files |
- This command is removed. | -
cf map-route |
-
-
|
-
cf marketplace |
-
-
|
-
cf migrate-service-instances |
- This command is removed. | -
cf packages |
-
-
|
-
cf push |
-
-
|
-
cf purge-service-offering |
-
-
|
-
cf quota |
-
-
|
-
cf quotas |
-
-
|
-
cf remove-network-policy |
-
-
|
-
cf rename-buildpack |
- This command is removed. Instead, use --rename flag with cf update-buildpack. |
-
cf restart-app-instance |
-
-
|
-
cf routes |
-
-
|
-
cf run-task |
-
-
|
-
cf scale |
-
-
|
-
cf service-access |
-
-
|
-
cf service-auth-tokens |
- This command is removed. | -
cf set-health-check |
-
-
|
-
cf set-quota |
-
-
|
-
cf set-running-environment-variable-group |
-
-
|
-
cf set-staging-environment-variable-group |
-
-
|
-
cf ssh |
-
-
|
-
cf start |
-
-
|
-
cf unshare-private-domain |
-
-
|
-
cf update-buildpack |
-
-
|
-
cf update-quota |
-
-
|
-
cf update-service-auth-token |
- This command is removed. | -
cf v3-COMMAND |
-
-
|
-
cf apply-manifest |
-
-
|
-
cf v3-cancel-zdt-push |
-
-
|
-
cf v3-zdt-push |
-
-
|
-
cf buildpacks |
-
-
|
-
cf map-route--destination-protocol to use HTTP/2 protocol to communicate with apps. By default, if destination-protocol is not set, HTTP/1 protocol is used for HTTP route.--app-protocol to use HTTP/2 protocol to communicate with apps. By default, if app-protocol is not set, HTTP/1 protocol is used for HTTP route.cf upgrade-service--force. There is no longer user interaction required on this command.--force. There is no longer user interaction required on this command.