debug-cmd

Debug linux command error by using GPT/LLM.


Keywords
gpt, debug
License
MIT
Install
pip install debug-cmd==1.0.4

Documentation

debug_cmd

Installation

pip install debug_cmd

How to use.

You need OpenAI key.

export OPENAI_API_KEY='your key'

Then,

debug_cmd ls /aaa

Or, if you want to use pipe | or redirect >, etc, you need to use -c option.

debug_cmd -c 'ls /aaa'