switch-prompt
A CLI prompt with an iOS-style on/off switch.
switch-prompt uses cli-styles and prompt-skeleton to have a look & feel consistent with other prompts.
Installing
npm install switch-prompt
Usage
switchPrompt(question, [activeText], [inactiveText], [defaultValue])
const switchPrompt =
Related
text-prompt
date-prompt
mail-prompt
multiselect-prompt
number-prompt
range-prompt
select-prompt
tree-select-prompt
cli-autocomplete
Contributing
If you have a question, found a bug or want to propose a feature, have a look at the issues page.