@@ -43,10 +43,9 @@ cscli appsec-configs install crowdsecurity/virtual-patching --download-only
4343# Install over tainted items. Can be used to restore or repair after local modifications or missing dependencies.
4444cscli appsec-configs install crowdsecurity/virtual-patching --force
4545
46- # Proceed without prompting.
47- cscli appsec-configs install crowdsecurity/virtual-patching --yes
48-
49- # The "--yes" parameter is implied when the command is not connected to a terminal, like pipes or scripts.` ,
46+ # Prompt for confirmation if running in an interactive terminal; otherwise, the option is ignored.
47+ cscli appsec-configs install crowdsecurity/virtual-patching -i
48+ cscli appsec-configs install crowdsecurity/virtual-patching --interactive` ,
5049 },
5150 removeHelp : cliHelp {
5251 example : `# Uninstall some appsec-configs.
@@ -64,10 +63,9 @@ cscli appsec-configs remove crowdsecurity/virtual-patching --purge
6463# Remove tainted items.
6564cscli appsec-configs remove crowdsecurity/virtual-patching --force
6665
67- # Proceed without prompting.
68- cscli appsec-configs remove crowdsecurity/virtual-patching --yes
69-
70- # The "--yes" parameter is implied when the command is not connected to a terminal, like pipes or scripts.` ,
66+ # Prompt for confirmation if running in an interactive terminal; otherwise, the option is ignored.
67+ cscli appsec-configs remove crowdsecurity/virtual-patching -i
68+ cscli appsec-configs remove crowdsecurity/virtual-patching --interactive` ,
7169 },
7270 upgradeHelp : cliHelp {
7371 example : `# Upgrade some appsec-configs. If they are not currently installed, they are downloaded but not installed.
@@ -82,10 +80,9 @@ cscli appsec-configs upgrade crowdsecurity/virtual-patching --dry-run -o raw
8280# Upgrade over tainted items. Can be used to restore or repair after local modifications or missing dependencies.
8381cscli appsec-configs upgrade crowdsecurity/virtual-patching --force
8482
85- # Proceed without prompting.
86- cscli appsec-configs upgrade crowdsecurity/virtual-patching --yes
87-
88- # The "--yes" parameter is implied when the command is not connected to a terminal, like pipes or scripts.` ,
83+ # Prompt for confirmation if running in an interactive terminal; otherwise, the option is ignored.
84+ cscli appsec-configs upgrade crowdsecurity/virtual-patching -i
85+ cscli appsec-configs upgrade crowdsecurity/virtual-patching --interactive` ,
8986 },
9087 inspectHelp : cliHelp {
9188 example : `# Display metadata, state, metrics and ancestor collections of appsec-configs (installed or not).
@@ -183,10 +180,9 @@ cscli appsec-rules install crowdsecurity/crs --download-only
183180# Install over tainted items. Can be used to restore or repair after local modifications or missing dependencies.
184181cscli appsec-rules install crowdsecurity/crs --force
185182
186- # Proceed without prompting.
187- cscli appsec-rules install crowdsecurity/crs --yes
188-
189- # The "--yes" parameter is implied when the command is not connected to a terminal, like pipes or scripts.` ,
183+ # Prompt for confirmation if running in an interactive terminal; otherwise, the option is ignored.
184+ cscli appsec-rules install crowdsecurity/crs -i
185+ cscli appsec-rules install crowdsecurity/crs --interactive` ,
190186 },
191187 removeHelp : cliHelp {
192188 example : `# Uninstall some appsec-rules.
@@ -204,10 +200,9 @@ cscli appsec-rules remove crowdsecurity/crs --purge
204200# Remove tainted items.
205201cscli appsec-rules remove crowdsecurity/crs --force
206202
207- # Proceed without prompting.
208- cscli appsec-rules remove crowdsecurity/crs --yes
209-
210- # The "--yes" parameter is implied when the command is not connected to a terminal, like pipes or scripts.` ,
203+ # Prompt for confirmation if running in an interactive terminal; otherwise, the option is ignored.
204+ cscli appsec-rules remove crowdsecurity/crs -i
205+ cscli appsec-rules remove crowdsecurity/crs --interactive` ,
211206 },
212207 upgradeHelp : cliHelp {
213208 example : `# Upgrade some appsec-rules. If they are not currently installed, they are downloaded but not installed.
@@ -222,10 +217,9 @@ cscli appsec-rules upgrade crowdsecurity/crs --dry-run -o raw
222217# Upgrade over tainted items. Can be used to restore or repair after local modifications or missing dependencies.
223218cscli appsec-rules upgrade crowdsecurity/crs --force
224219
225- # Proceed without prompting.
226- cscli appsec-rules upgrade crowdsecurity/crs --yes
227-
228- # The "--yes" parameter is implied when the command is not connected to a terminal, like pipes or scripts.` ,
220+ # Prompt for confirmation if running in an interactive terminal; otherwise, the option is ignored.
221+ cscli appsec-rules upgrade crowdsecurity/crs -i
222+ cscli appsec-rules upgrade crowdsecurity/crs --interactive` ,
229223 },
230224 inspectHelp : cliHelp {
231225 example : `# Display metadata, state, metrics and ancestor collections of appsec-rules (installed or not).
0 commit comments