c4spar / deno-cliffy

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...

Home Page:https://cliffy.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make input/output stream configurable for all prompts

c4spar opened this issue · comments

const confirmed: boolean = await Confirm.prompt({
  message: "Please confirm",
  reader: Deno.stdin,
  writer: Deno.stderr,
});