Skip to main content

A CLI tool for interacting with Meta Ads API

Project description

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

  1. Clone the repository:

    git clone https://github.com/yourusername/bash_buddy.git
    cd bash_buddy
    
  2. 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:

  1. 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.

  2. Clone Your Fork: Clone your forked repository to your local machine.

    git clone https://github.com/yourusername/bash_buddy.git
    cd bash_buddy
    
  3. Install Development Dependencies: Install the necessary development dependencies.

    pip install -e .[dev]
    
  4. Create a Branch: Create a new branch for your feature or bugfix.

    git checkout -b feature-or-bugfix-name
    
  5. Make Your Changes: Implement your feature or fix the bug in your branch.

  6. Commit Your Changes: Commit your changes with a descriptive commit message.

    git add .
    git commit -m "Description of the feature or bugfix"
    
  7. Push to Your Fork: Push your changes to your forked repository.

    git push origin feature-or-bugfix-name
    
  8. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bash_buddy_cli-0.1.4.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bash_buddy_cli-0.1.4-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file bash_buddy_cli-0.1.4.tar.gz.

File metadata

  • Download URL: bash_buddy_cli-0.1.4.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for bash_buddy_cli-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a31860f3bcdea09581eb2c47a8745f5372f20f1c78428c9a48136eac0005c5cb
MD5 983d637e097c1a53c80f76dae67044c9
BLAKE2b-256 284f732b77dbccb4afd923d5b2af6c6fb6a4bb3259c13a9564ae6bfbb0f23437

See more details on using hashes here.

File details

Details for the file bash_buddy_cli-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: bash_buddy_cli-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for bash_buddy_cli-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1d9f32fc02ea626c77cf072a2fd271ca8c9faa3d4a6e6c221e51badd418362cb
MD5 ac963839f98224898a872f2359e30b36
BLAKE2b-256 9e4463eae6cffed69c16782dd76b7360d9db113dffe57a0cbc4de3c304d1c6d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page