x/inquirer@v0.0.4

Interactive command line user interfaces for deno
Latest
examples/
lib/
import * as inquirer from "https://deno.land/x/inquirer@v0.0.4/mod.ts";

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',
  ],
});