deno.land / x / inquirer@v0.0.4

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',
  ],
});
inquirer
Interactive command line user interfaces for deno
DocumentationDocumentation
GitHub Repositorygliheng/deno-inquirer
GitHub Stars
1

Version Info

Tagged at
2 days ago