FerryDocs
Getting startedSet up the CLI

Confirm a delete

A command that deletes something asks a question first. In a script, it needs --yes.

Edit on GitHub
yferry deleteQuestion[y/N]--yesno questionRefuseserrorDeleted

In a terminal, the command asks a question before it deletes.

1 / 4

The commands that ask

ferry delete, ferry db rm, ferry env-group rm and ferry deploy-hook rotate.

The question
Delete service 'node-hello' with all its deploys? [y/N]

No question

Add --yes, or its short form -y.

In a script or a CI job

If the input is not a terminal, these commands refuse to run without --yes.

Error
error: refusing to delete service 'node-hello' with all its deploys without confirmation: re-run with --yes

On this page