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.5.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.5-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bash_buddy_cli-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 47d2366dc0afa5792b9379de6bbc8375a32c71179f4ca949942f453e040ade32
MD5 1e52fc93f1878e9b14c76021a31c4b1b
BLAKE2b-256 532ddb46d30265d100919205b3370f879f3917f04ff0e421b0cdaa84c64786c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bash_buddy_cli-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6ad769575415c4c4e52337f6686381ad05e2fdd0b731251f86cefef42d70e7c1
MD5 827004abf56aa2028f7aa80d3e10cd0c
BLAKE2b-256 6a7fcf1c18a13949ef6857ee40f068ce121fda76e873a096888c29c5e5e512a1

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