Skip to content

A whiptail-like dialog box written with Bubble Tea (Go) #Meet the modern TUI

License

Notifications You must be signed in to change notification settings

Moe-hacker/yoshinon

Repository files navigation

About:

Yoshinon (よしのん) is a whiptail-like dialog box written with Bubble Tea (Go).
The command-line usage is very similar to dialog/whiptail.

Notes:

Yoshinon uses stderr/stdout for output, stderr for the dialog box and stdout for returnd values. So just use $(yoshinon command) for reading the output.

Usage:

Box options:

  --msgbox      [options] <text> <height> <width>
  --yesno       [options] <text> <height> <width>
  --infobox     [options] <text> <height> <width>
  --inputbox    [options] <text> <height> <width> [init]
  --passwordbox [options] <text> <height> <width>
  --menu        [options] <text> <height> <width> <listheight> [tag item] ...
  --checklist   [options] <text> <height> <width> <listheight> [tag item status]...
  --radiolist   [options] <text> <height> <width> <listheight> [tag item status]...
  --gauge       [options] <text> <height> <width>

Options:

  --bgcolor     <R;G;B>
  --boxcolor    <R;G;B>
  --cursorcolor <R;G;B>
  --border      <rounded/normal/thick/double/hidden>
  --title       <title>
  --help        print this message
  --version     print version information

Thanks:

Bubble Tea

●   ●  ●●●   ●●●  ●   ●  ●●●  ●   ●  ●●●  ●   ●
 ● ●  ●   ● ●     ●   ●   ●   ●●  ● ●   ● ●●  ●
  ●   ●   ●  ●●●  ●●●●●   ●   ● ● ● ●   ● ● ● ●
  ●   ●   ●     ● ●   ●   ●   ●  ●● ●   ● ●  ●●
  ●    ●●●   ●●●  ●   ●  ●●●  ●   ●  ●●●  ●   ●

「鸟になって云をつかんで、

风になって遥远くへ

希望を抱いて飞んだ」

About

A whiptail-like dialog box written with Bubble Tea (Go) #Meet the modern TUI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published