Bash Buddy
Bash Buddy is a CLI tool designed to assist users with questions related to bash scripting and terminal commands. It integrates with OpenAI's GPT-4o mini model (Low Cost Model) to provide concise and helpful answers directly in the terminal.
Features
- Ask Questions: Get answers to your bash-related questions. Right in the Terminal!
- API Key Management: Easily add and manage your OpenAI API key.
Installation
-
Clone the repository:
git clone https://github.com/yourusername/bash_buddy.git cd bash_buddy
-
Install the package using
setup.py:pip install -e .
Usage
Asking a Question
To ask a question, simply run the CLI tool followed by your question:
sh buddy "How do I list all files in a directory?"
Adding an API Key
To add your OpenAI API key, use the --api_key argument:
sh buddy --api_key your_openai_api_key
Contributing
We welcome contributions to Bash Buddy! If you have an idea for a new feature or have found a bug, please follow these steps:
-
Fork the Repository: Click the "Fork" button at the top right of this repository's page to create a copy of the repository in your GitHub account.
-
Clone Your Fork: Clone your forked repository to your local machine.
git clone https://github.com/yourusername/bash_buddy.git cd bash_buddy
-
Install Development Dependencies: Install the necessary development dependencies.
pip install -e .[dev]
-
Create a Branch: Create a new branch for your feature or bugfix.
git checkout -b feature-or-bugfix-name
-
Make Your Changes: Implement your feature or fix the bug in your branch.
-
Commit Your Changes: Commit your changes with a descriptive commit message.
git add . git commit -m "Description of the feature or bugfix"
-
Push to Your Fork: Push your changes to your forked repository.
git push origin feature-or-bugfix-name
-
Create a Pull Request: Go to the original repository and create a pull request from your forked repository. Provide a clear description of your changes and any related issues.
We will review your pull request and provide feedback. Thank you for contributing to Bash Buddy.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contact
For any questions or feedback, please open an issue on GitHub.
Metadata
Release files for bash-buddy-cli 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| bash_buddy_cli-0.1.5.tar.gz | 17.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bash_buddy_cli-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.7 kB
Release files / bash_buddy_cli-0.1.5.tar.gz
| Download URL | bash_buddy_cli-0.1.5.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47d2366dc0afa5792b9379de6bbc8375a32c71179f4ca949942f453e040ade32
|
|
BLAKE2b-256 checksum How to use checksums |
532ddb46d30265d100919205b3370f879f3917f04ff0e421b0cdaa84c64786c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / bash_buddy_cli-0.1.5-py3-none-any.whl
| Download URL | bash_buddy_cli-0.1.5-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ad769575415c4c4e52337f6686381ad05e2fdd0b731251f86cefef42d70e7c1
|
|
BLAKE2b-256 checksum How to use checksums |
6a7fcf1c18a13949ef6857ee40f068ce121fda76e873a096888c29c5e5e512a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for bash-buddy-cli 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.