I’d like to include some interactive menus and prompts in my shell scripts.

dialog is fine, but it takes over the entire screen (maybe there’s a way to not do that?) with its ncurses UI. Ideally, I’d like output similar to this Go library.

Anyone know of any standalone tools I could install to avoid writing my own?

  • colemanOP
    link
    1
    edit-2
    2 years ago

    After some research, fzy does a good portion of what I want. https://github.com/jhawthorn/fzy

    I’m already an avid user of rlwrap, which can handle other kinds of completion.


    UPDATE: After looking around, I’ve concluded the tool I want doesn’t exist, yet.