If your argument for using the shell (as opposed to a real programming language such as Python) is portability, writing a shell script that is not POSIX compliant literally defeats the point.
Also, 100 lines of UX-related bloat hardly classifies as "minimal".
Also, 100 lines of UX-related bloat hardly classifies as "minimal".