Skip to content

bukinoshita/autocomplete-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autocomplete-cli Build Status

Command line interface autocomplete

Install

$ yarn add autocomplete-cli

Usage

const autoComplete = require('autocomplete-cli')

const start = '> Choose a band: '
const suggestions = new Set(['blink-182', 'green day', '+44'])

await autoComplete({ start, suggestions })

Demo

Related

  • prompt-email — Command line interface prompt email with autocompletion, validation and email lookup

License

MIT © Bu Kinoshita