Metadata-Version: 2.4
Name: cli-bob
Version: 0.1.0
Summary: cli-bob uses AI to generate command line code in case you cannot remember the exact syntax.
Home-page: https://github.com/haesleinhuepf/cli-bob
Author: Robert Haase
Author-email: robert.haase@uni-leipzig.de
License: BSD-3-Clause
Project-URL: Bug Tracker, https://github.com/haesleinhuepf/cli-bob/issues
Project-URL: Documentation, https://github.com/haesleinhuepf/cli-bob#README.md
Project-URL: Source Code, https://github.com/haesleinhuepf/cli-bob
Project-URL: User Support, https://github.com/haesleinhuepf/cli-bob/issues
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: anthropic
Provides-Extra: testing
Requires-Dist: tox; extra == "testing"
Requires-Dist: pytest; extra == "testing"
Requires-Dist: pytest-cov; extra == "testing"
Dynamic: license-file

# cli-bob

cli-bob uses AI to generate command line code in case you can't remember the exact syntax.

![](docs/screenshot1.png)

Under the hood, it uses the [claude](https://anthropic.com/api/) API to generate commands.

## Installation

```bash
pip install cli-bob
```

You also need to set an environment variable named `ANTHROPIC_API_KEY` as `cli-bob` uses the claude LLM for generating commands.

## Usage

On the termal start typing `bob` and afterwards specify what you want to do. 
`cli-bob` will then generate a command proposal for you and you can hit ENTER to run it.
You can also modify the command before running it.
Hit ESC to cancel execution.

## Acknowledgements

We acknowledge the financial support by the Federal Ministry of Education and Research of Germany and by Sächsische Staatsministerium für Wissenschaft, Kultur und Tourismus in the programme Center of Excellence for AI-research „Center for Scalable Data Analytics and Artificial Intelligence Dresden/Leipzig", project identification number: ScaDS.AI
