Skip to content

gliheng/deno-inquirer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Interactive command line user interfaces for deno

Resources

License

Stars

Watchers

Forks

Packages

No packages published