From 1d8b17b4907d89b8c8084953c2e2a0c7c3fe79b0 Mon Sep 17 00:00:00 2001 From: DJ Adams Date: Mon, 30 Jun 2025 09:18:11 +0100 Subject: [PATCH] use -f to cf install-plugin If you copy/paste these three shell commands the effect won't be what the user expects, as without the `-f` option the `install-plugin` command will stop and prompt the user like this: ```shell ; cf add-plugin-repo CF-Community https://plugins.cloudfoundry.org https://plugins.cloudfoundry.org already registered as CF-Community # /work/scratch/debugtest ; cf install-plugin multiapps Searching CF-Community for plugin multiapps... Plugin multiapps 3.5.0 found in: CF-Community Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk. Do you want to install the plugin multiapps? [yN]: cf install-plugin html5-plugin ``` i.e. the 3rd line `cf install-plugin html5-plugin` will be presented as the value at the "yN" prompt instead of being a separate command. --- guides/deployment/to-cf.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/deployment/to-cf.md b/guides/deployment/to-cf.md index bb5e1888a..04996f73b 100644 --- a/guides/deployment/to-cf.md +++ b/guides/deployment/to-cf.md @@ -120,8 +120,8 @@ npm i @sap/cds #> if necessary ```sh cf add-plugin-repo CF-Community https://plugins.cloudfoundry.org - cf install-plugin multiapps - cf install-plugin html5-plugin + cf install-plugin -f multiapps + cf install-plugin -f html5-plugin ``` ## Prepare for Production {#prepare-for-production}