chicle

Pure bash TUI library for delightful shell scripts. Zero dependencies.

v0.2.0

Install

Bash:

source <(curl -fsSL chicle.knacklabs.co/chicle.sh)

PowerShell:

Invoke-WebRequest chicle.knacklabs.co/chicle.psm1 -OutFile chicle.psm1
Import-Module ./chicle.psm1

Example

source <(curl -fsSL chicle.knacklabs.co/chicle.sh) chicle_style --bold "Welcome to the installer" echo chicle_rule name=$(chicle_input --placeholder "Project name") template=$(chicle_choose --header "Template" "basic" "advanced") if chicle_confirm "Create '$name' with $template?"; then chicle_spin --title "Creating project" -- sleep 2 chicle_style --green "Done!" fi