idank / explainshell

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

Multiline explainer (with popups) #327

Open abitrolly opened 5 months ago

abitrolly commented 5 months 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..