Scroll to navigation

man(8) pkgos-choose man page man(8)

NAME

pkgos-choose - interactive picker using fzf, falling back to a numbered menu.

SYNOPSIS

pkgos-choose <prompt> <item> [<item> ...]

DESCRIPTION

pkgos-choose displays an interactive picker and prints the selected item on stdout. When fzf(1) is available and the standard input is a terminal, an fzf picker is used. Otherwise, a numbered menu is displayed and the choice is read from the standard input, which makes the tool usable in scripts and test suites.

OPTIONS

<prompt>
The prompt to display in the fzf interface or before the numbered menu.
<item>
The items to choose from. The selected item is printed on stdout.

EXAMPLE

SEE ALSO

fzf(1), pkgos-debpypi(8), pkgos-debcrate(8)

BUGS

No known bugs.

AUTHOR

Script and man page are written by Thomas Goirand <zigo@debian.org>

3 Oct 2026 150