wavetermdev / waveterm

An open-source, cross-platform terminal for seamless workflows
https://www.waveterm.dev
Apache License 2.0
3.9k stars 92 forks source link

Add explainshell integration #93

Open acestronautical opened 9 months ago

acestronautical commented 9 months ago

Is your feature request related to a problem? Please describe. Wave terminal attempts to be a friendly terminal manager. Many new terminal users and also veterans struggle to remember command line arguments, and parsing through man pages is time consuming. It is often the case that commands are copied and run from online sources without the user understanding the full meaning of the command + options.

Describe the solution you'd like Integrate https://github.com/idank/explainshell into the wave terminal so that I can see a breakdown of a command + options before and or after execution. Optionally also integrate tldr examples https://github.com/tldr-pages/tldr so a user can hover or click on a command and see common usage examples.

This may be possible by leveraging the bash language server: https://github.com/bash-lsp/bash-language-server

Note I believe if you add this feature Wave could become very popular

sawka commented 9 months ago

Thanks for submitting. These are all great suggestions. Will have to look through each individually to see if they are a fit and how they could be integrated.