Prompt the current user to select a choice with a specific [m]essage

choice

  • Prompt user to select a choice and return the selected choice index.
    More information: <https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/choice>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

choice /m "{{message}}"

click the source code to copy install choice on any operating system with command-not-found.com