Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kahkhang/Inquirer.sh
Modern terminal prompt inspired by inquirer.js
https://github.com/kahkhang/Inquirer.sh
bash checkbox commandline-interface inquirer posix
Last synced: 4 days ago
JSON representation
Modern terminal prompt inspired by inquirer.js
- Host: GitHub
- URL: https://github.com/kahkhang/Inquirer.sh
- Owner: kahkhang
- License: mit
- Created: 2017-06-23T10:42:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-08T15:34:17.000Z (over 4 years ago)
- Last Synced: 2024-05-01T13:30:53.908Z (6 months ago)
- Topics: bash, checkbox, commandline-interface, inquirer, posix
- Language: Shell
- Homepage:
- Size: 586 KB
- Stars: 82
- Watchers: 4
- Forks: 19
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## :rocket: Inquirer.sh - Modern Bash Terminal Prompt
[![Bash](https://img.shields.io/badge/language-Bash-green.svg)](https://github.com/tanhauhau/Inquirer.sh) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/tanhauhau/Inquirer.sh/master/LICENSE) [![Twitter](https://img.shields.io/twitter/url/https/github.com/tanhauhau/Inquirer.sh.svg?style=social)](https://twitter.com/intent/tweet?text=%23Inquirer.sh%20rocks%21&url=%5Bobject%20Object%5D)Inquirer.sh is a dependency-free collection of bash interative terminal prompts based on [Inquirer.js](https://github.com/SBoudrias/Inquirer.js)'s interfaces
### List Input ([Example](https://github.com/tanhauhau/Inquirer.sh/blob/master/examples/list_input_example.sh))
![List Input Example](demos/list_input.gif "List Input Example")```sh
Usage: list_input [prompt] [array] [selected_option]
Usage: list_input_index [prompt] [array] [selected_index]
```### Checkbox Input ([Example](https://github.com/tanhauhau/Inquirer.sh/blob/master/examples/checkbox_input_example.sh))
![Checkbox Input Example](demos/checkbox_input.gif "Checkbox Input Example")```sh
Usage: checkbox_input [prompt] [array] [selected_options_output]
Usage: checkbox_input_indices [prompt] [array] [selected_indices_output]
```### Text Input ([Example](https://github.com/tanhauhau/Inquirer.sh/blob/master/examples/text_input_example.sh))
![Text Input Example](demos/text_input.gif "Text Input Example")```sh
Usage: text_input [prompt] [output_variable] [default_value (Optional)] [failed_validation_prompt (Optional)] [validator_function (Optional)]
```### [Contributors](https://github.com/tanhauhau/Inquirer.sh/blob/master/CONTRIBUTORS.md)
* [Andrew Low](https://github.com/kahkhang)
* [Tan Li Hau](https://github.com/tanhauhau)