pick

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Command pick is a tiny manual smoke test for radish's single-select prompt.

Run it in a real terminal:

go run ./examples/pick

Use the arrow keys to move, type to filter, Enter to choose, Esc/Ctrl-C to cancel. The chosen value is printed to stdout (the menu itself draws to stderr), so `go run ./examples/pick > /tmp/choice` captures just the selection.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL