Skip to content

Commit de0dc15

Browse files
authored
use -f to cf install-plugin (#1941)
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. Using `-f` will bypass the prompt. I would say this is fine, it's what the user wants anyway.
1 parent fc727d4 commit de0dc15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

guides/deployment/to-cf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ npm i @sap/cds #> if necessary
120120

121121
```sh
122122
cf add-plugin-repo CF-Community https://plugins.cloudfoundry.org
123-
cf install-plugin multiapps
124-
cf install-plugin html5-plugin
123+
cf install-plugin -f multiapps
124+
cf install-plugin -f html5-plugin
125125
```
126126

127127
## Prepare for Production {#prepare-for-production}

0 commit comments

Comments
 (0)