Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Update README.md (#46)
Browse files Browse the repository at this point in the history
* Update README.md

Added Javascript variant to usage guide

* Update README.md

* Update README.md
  • Loading branch information
duydnguyen07 authored and jdx committed Oct 14, 2018
1 parent 5c99012 commit c661d85
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ import cli from 'cli-ux'
cli.prompt('What is your name?')
```

JavaScript:

```javascript
const {cli} = require('cli-ux')

cli.prompt('What is your name?')
```

# cli.prompt()

Prompt for user input.
Expand Down

0 comments on commit c661d85

Please sign in to comment.