import { Confirm } from "https://deno.land/x/cliffy@v1.0.0-rc.1/prompt/confirm.ts";
Inject prompt value. If called, the prompt doesn't prompt for an input and returns immediately the injected value. Can be used for unit tests or pre selections.
x/cliffy/prompt/confirm.ts>Confirm.inject
import { Confirm } from "https://deno.land/x/cliffy@v1.0.0-rc.1/prompt/confirm.ts";
Inject prompt value. If called, the prompt doesn't prompt for an input and returns immediately the injected value. Can be used for unit tests or pre selections.