I kinda wish that shell scripts weren't quite so looked down on as "not real programs".
They're lightweight
They don't require packaging or recompiling for different architectures or operating systems (assuming the device at least has bash
and the standard POSIX compliant tools)
You don't have to maintain a separate source code or ci/cd or whatever
They're tiny and can be sent in a .txt even if someone's email security software is on crazy overdrive or they require code signing or whatever else.
I've replaced a whole BUNCH of "real programs" over the years with "run this shell script, and answer the prompts it gives back". Or take this 15 step workflow that someone needed to go across 4 different tools (that probably require having a license to the software), copy and paste and find and sort and whatever else with "run this script and the .csv is right there".
I don't know why, I just really like shell scripts. They make me happy as such handy little all purpose multi tools.
But then because it's some "silly script" that runs in a command shell, it's kinda like "there there, thanks, but we want a Real Program" to do this...