nicht
v0.0.2
Published
Command line interface prompt bool values
Downloads
15
Maintainers
Readme
nicht 
Command line interface prompt bool values
Install
$ npm install nicht
Usage
import nicht from 'nicht'
nitch('Are you okay?')
// => Are you okay? [y|N]
Demo
API
nicht(question, { defaultValue, yesChar, noChar })
question
Type: string
Required
defaultValue
Type: bool
default: false
If user doesn't choose [y|N], it will return false
as default.
yesChar
Type: string
default: y
noChar
Type: string
default: n
License
MIT © Bu Kinoshita