Wh
📖 Handy man page query with explainshell.com using Python
🚀 Features
- Fetch and parse man page explanations from explainshell.com
- Display structured command breakdowns
- Simple and lightweight command-line utility
🔧 Installation
$ git clone https://github.com/0xwerz/explainshell-manquery.git
$ cd explainshell-manquery
$ python3 -m venv venv
$ source venv/bin/activate # On Windows use: venv\Scripts\activate
$ pip install -r requirements.txt
$ python manquery.py --help
📌 Usage
$ python wh.py <command>
Example
$ python wh.py "nmap -sC"
Output:
+------------+-------------------------------------------------------------+
| Command | Description |
+------------+-------------------------------------------------------------+
| nmap -sC | Performs a script scan using the default set of scripts. |
| | Equivalent to --script=default. Some scripts may be |
| | considered intrusive and should not be run without |
| | permission. |
+------------+-------------------------------------------------------------+
⚡ Roadmap
- Improve output formatting
- Add support for additional options
- Enhance error handling
Preview
📜 License
MIT License. See LICENSE
file for more details.