feat(#17): Add range input (#18)

* feat(#17): Add first version of range

- Tested on MacOS, GNU bash 3.2.57

* docs(#17): Extend documentation
This commit is contained in:
Timo Reymann
2023-09-14 17:26:18 +02:00
committed by GitHub
parent 44502a1707
commit b0f528ff16
3 changed files with 109 additions and 11 deletions
+4
View File
@@ -32,6 +32,8 @@ log "$LOG_ERROR" "Error message"
# PROMPTS
#
ranged="$(range "foo bar" "-5" 0 5)"
options=("one" "two" "three" "four" "a" "b" "c" "d" "e")
validate_password() {
@@ -71,6 +73,8 @@ checkbox:
$checked
confirm:
$confirmed
range:
$ranged
editor:
$editor
"