mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
Defined a bash function choose(), which allows to present a menu and prompting for a selection, with support for default choice. Usage is commented appropriately. Originally reviewed in CL I0d2f20dc8d62ce5fa18c10d9f8b51a46b2ddca5d. BUG=chromium-os:26010 TEST=Tested in conjunction with a use in image_to_usb.sh, works fine. Change-Id: I53a42a46a3c90fd486fead578bfbae248f64cfc2 Reviewed-on: https://gerrit.chromium.org/gerrit/15586 Reviewed-by: Gilad Arnold <garnold@chromium.org> Tested-by: Gilad Arnold <garnold@chromium.org> Commit-Ready: Gilad Arnold <garnold@chromium.org>
Description
Languages
Shell
93.1%
Python
6.9%