IngoMeyer441 / simple-term-menu

A Python package which creates simple interactive menus on the command line.
MIT License
492 stars 43 forks source link

[feature] return the selected instead of the index on the cli #69

Open zodman opened 1 year ago

zodman commented 1 year ago

this for approach the bash scripting

IngoMeyer441 commented 1 year ago

Thanks for your feature suggestion. Did you already try the --stdout option?

  --stdout              Print the selected menu index or indices to stdout (in
                        addition to the exit status). Multiple indices are
                        separated by ";".