An open API service indexing awesome lists of open source software.

https://github.com/bukinoshita/autocomplete-cli

Command line interface autocomplete
https://github.com/bukinoshita/autocomplete-cli

auto autocomplete cli command complete interface line

Last synced: 7 months ago
JSON representation

Command line interface autocomplete

Awesome Lists containing this project

README

          

# autocomplete-cli [![Build Status](https://travis-ci.org/bukinoshita/autocomplete-cli.svg?branch=master)](https://travis-ci.org/bukinoshita/autocomplete-cli)

> Command line interface autocomplete

## Install

```bash
$ yarn add autocomplete-cli
```

## Usage

```js
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](https://github.com/bukinoshita/prompt-email) — Command line interface prompt email with autocompletion, validation and email lookup

## License

MIT © [Bu Kinoshita](https://bukinoshita.io)