Skip to main content
io.confirm() asks a yes or no question with a Confirm and a Cancel button and returns true or false. Either button answers at once, so the step has no Continue button. Provided by the @awaitio/confirm package.
The question Clear the whole cache? with help text under it and Confirm and Cancel buttons

Install

Setup

Register it under the key you want in io, see Input components:
app.ts

Usage

Ask it on its own, not in io.group: its buttons send the whole step.

Props

Returns

boolean: true for Confirm, false for Cancel.