A simple wrapper library for working with dialog from Babashka.
This allows for a smoother way of adding simple TUI dialogs to your Babashka scripts on supported operating systems.
You will need some version of either dialog
, whiptail
, or Xdialog
installed. dialog
or whiptail
may already be installed on most
Linux systems, however on OS X you will need to install dialog
from brew. There is also a Windows port of dialog
here.
For the time being, you should be able to employ bb-dialog as a git dependency in your bb.edn
, and releases are tagged for ease of use:
{:deps {com.github.pixelated-noise/bb-dialog
{:git/tag "v0.3"
:git/sha "0d23383812dd6e199661c6f276738c974a53d65d"}}}
See quickdocs.
Also see the announcement blog post.
- Checklist (
--checklist
) - Confirmation (
--yesno
) - Basic text input (
--inputbox
) - Menu (
--menu
) - Message box (
--msgbox
) - Pause/timed dialog (
--pause
) - Radio list (
--radiolist
) - Tree view (
--treeview
) - Calendar (
--calendar
) - Directory select (
--dselect
) - File select (
--fselect
) - Time picker (
--timebox
)
Copyright (c) 2023 Pixelated Noise Ltd
Distributed under the Eclipse Public License version 2.0 or later.