Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 497 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 497 Bytes

Inquirer

Interactive command line user interfaces for deno.

This lib requires --unstable --allow-env flag to run

confirm

import { confirm } from 'https://deno.land/x/inquirer/mod.ts';

let ret = await confirm({
  message: 'Would you like a cup of ☕?',
});

select

import { select } from 'https://deno.land/x/inquirer/mod.ts';

let ret = await select({
  message: 'Which is your favorite fruit',
  options: [
    'Apple',
    'Orange',
    'Banana',
  ],
});