teamenu

command module
v0.0.0-...-d94dfdd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

README

teamenu

teamenu: a simple terminal menu utility

What does it do?

What teamenu does is simple:

  1. it reads stdin
  2. presents a menu containing each line of stdin (delimited by newline)
  3. it outputs the selected option to stdout

Use the up and down arrows to move between menu options and enter to finalize your selection.

demo

Usage:

Just pipe in input from stdin to teamenu.

  1. From another shell command: echo -e "option1\noption2\noption3" | teamenu
  2. From a file: teamenu < options.txt

Flags:

  • -t <title> -- adds a title at the top of the menu
  • -c -- centers the menu

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳