Git Product home page Git Product logo

bb-dialog's Introduction

bb-dialog

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.

Requirements

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.

Usage

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"}}}

API docs

See quickdocs.

Also see the announcement blog post.

Options supported (current and planned)

  • 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)

Legal

Copyright (c) 2023 Pixelated Noise Ltd

Distributed under the Eclipse Public License version 2.0 or later.

bb-dialog's People

Contributors

agspathis avatar cldwalker avatar gdulus avatar jarcane avatar peristeri avatar stathissideris avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.