cli-styles
v1.0.0
Published
A consistent look for CLI prompts.
Downloads
10,527
Maintainers
Readme
cli-styles 🕶
This project aims to bring a consistent look to CLI apps. It provides:
- styles of showing user input (
default
,password
,invisible
) - indicators for the status of a prompt (
?
,✔
,✖
) - a prompt delimiter (
›
)
Note: This project is not a prompt or a command line executable, it intends to standardize interfaces of CLI tools.
cli-styles
works well with prompt-skeleton
.
Prompts using cli-styles
date-prompt
mail-prompt
multiselect-prompt
number-prompt
range-prompt
select-prompt
text-prompt
tree-select-prompt
cli-autocomplete
switch-prompt
Installing
npm install cli-styles
Usage
See the source
Contributing
If you have a question, found a bug or want to propose a feature, have a look at the issues page.