Skip to Content

Install the HTML5 Applications Repository Cloud Foundry CLI Plugin

test
0 %
Install the HTML5 Applications Repository Cloud Foundry CLI Plugin
Details

Install the HTML5 Applications Repository Cloud Foundry CLI Plugin

April 22, 2021
Created by
July 29, 2020
Download and install the Command Line Interface (CLI) plugin. This plugin allows you to read from and write to the SAP HTML5 Application Repository service for SAP BTP.

You will learn

QR code


Step 1: Verify that the Cloud Foundry CLI is installed

Make sure you installed the Cloud Foundry CLI successfully:

cf --version

Now you should see the release number of the CLI you are using.

You can go to this tutorial to install the Cloud Foundry CLI if necessary

Log on to answer question
Step 2: Install the plugin

Install the plugin from the OS-specific binary, using the following command:

cf install-plugin -f https://github.com/SAP/cf-html5-apps-repo-cli-plugin/releases/latest/download/cf-html5-apps-repo-cli-plugin-darwin-amd64
cf install-plugin -f https://github.com/SAP/cf-html5-apps-repo-cli-plugin/releases/latest/download/cf-html5-apps-repo-cli-plugin-windows-amd64.exe
cf install-plugin -f https://github.com/SAP/cf-html5-apps-repo-cli-plugin/releases/latest/download/cf-html5-apps-repo-cli-plugin-linux-amd64
Log on to answer question
Step 3: Verify the installation of the plugin

List all Cloud Foundry CLI plugins to see whether the installation worked.

cf plugins | grep html5   

You should now see the following output:

listed plugins

This list shows you all the new commands you added to the CLI. E.g., now you can run cf html5-list and cf html5-push from the command line.

Log on to answer question
Step 4: Inspect the deploy command options

Run the following command to inspect all options for the cf cf html5-push command:

cf html5-push --help

Visit the GitHub repository to learn about more commands that are offered by this tool.

Which options are available for the cf html5-push command?
×

Next Steps

Back to top