Skip to Content

Install the HTML5 Applications Repository Cloud Foundry CLI Plugin

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
IObertMarius ObertNovember 22, 2021
Created by
IObert
July 29, 2020
Contributors
IObert
  • Step 1

    Make sure you installed the Cloud Foundry CLI successfully:

    Bash
    Copy
    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

  • Step 2

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

    Bash
    Copy
    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
    
  • Step 3

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

    Bash
    Copy
    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.

  • Step 4

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

    Bash
    Copy
    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?

Back to top