idank / explainshell

match command-line arguments to their help text
GNU General Public License v3.0
12.98k stars 778 forks source link

Multiline explainer (with popups) #327

Open abitrolly opened 2 weeks ago

abitrolly commented 2 weeks ago

What it takes to stitch a prototype that is able to explain multiline shell scripts (or a pieces of them)?

for key in "$@"; do
    eval $(echo "$env" | grep "^export ${key=}")
done

I guess the most complicated part is the layout of explainer text. Maybe it is possible to scatter some overlapping popups around the content..