autocomplete-cli

Command line interface autocomplete

MIT License

Downloads
9
Stars
3
Committers
4

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

Package Rankings
Top 23.43% on Npmjs.org
Badges
Extracted from project README
Build Status