Metadata-Version: 2.1
Name: pimterm
Version: 1.2
Summary: A simple Python package that helps you find the command you need.
Author: Pim Verleg
Author-email: pim_iets@hotmail.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: openai

# pimterm

pimterm can be used to find the linux command you need.
for example:

### using the short notation
```bash
pimterm c "how do I ping example.com?"
ping example.com
```

### using the long notation
```bash
pimterm command "how do i remove a file"
rm filename
```

## You can also ask reqular questions:

### using the short notation
```bash
pimterm q  "who is cleopatra?"
Cleopatra was the last active ruler of the Ptolemaic Kingdom of Egypt.
```

### using the long notation
```bash
pimterm question  "what is the capital of the netherlands?"
Amsterdam
```


### Notes

## intallation
Make sure to add your chatgpt key to your system

```bash
pimterm c "how do i add my chatgpt key to my linux instalation?"
echo "export OPENAI_API_KEY='YOUR_API_KEY'" >> ~/.bashrc
```




The ai will try to return only the command needed. Somtimes when the ai feels explenation is needed it will add it in plain text.
