Skip to main content

AI in your CLI.

Project description

Chai - AI in your CLI.

Introduction

Chai is a command-line interface (CLI) tool designed to simplify your experience with bash commands. Have you ever found yourself stuck, not knowing the right bash command to use? With Chai, you can simply run chai [your query in English], and it will respond with the appropriate bash command to help you out.

Problem Statement

The command-line interface can be intimidating, especially for beginners. Remembering the syntax of various bash commands and knowing which command to use in a specific situation can be challenging. Searching through documentation or forums for the right command can be time-consuming and frustrating. Chai aims to solve this problem by providing an intuitive interface where you can ask for help in plain English and get the correct bash command instantly.

Features

  • Natural Language Interface: Communicate with Chai in plain English, just like asking a question.
  • Instant Responses: Receive the correct bash command immediately after asking your query.
  • Saves Time: Eliminates the need to search through documentation or forums for the right command.
  • Easy to Use: Intuitive and straightforward interface, suitable for both beginners and experienced users.

Usage

To use Chai, simply run the following command in your terminal:

chai [your query in English]

Chai will process your query and respond with the appropriate bash command.

Installation

You can install Chai via pip:

pip install chai-cli

Clipboard

Every output is copied to your clipboard. To ensure that it works, run the following command to install required tools on Linux.

sudo apt-get install xclip xsel wl-clipboard

Examples

Here are some examples of queries you can ask Chai:

  • "list all files starting with a"
  • "grep emails.txt for yahoo addresses"
  • "list users who are logged in"

Chai will provide you with the corresponding bash commands for each query.

Contributing

Contributions to Chai are welcome! If you have any suggestions, bug reports, or feature requests, please feel free to open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

chai_cli-0.3.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

chai_cli-0.3.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file chai_cli-0.3.0.tar.gz.

File metadata

  • Download URL: chai_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for chai_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7ce730b4273023c6776a54d98fe81e2f4227137599490e5da92dc7544a500919
MD5 4153c3a45c335cc07f722d6527da7a87
BLAKE2b-256 455c74aef330e8f4fa674df535c1cf08b4d81ab6c1fea8e009a4aeae88efe402

See more details on using hashes here.

File details

Details for the file chai_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: chai_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for chai_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd4d321dc5d57be0665b0f23740f1b7ce6c10a5c6c49a0ea5077780be7c2aac3
MD5 3a711f4b53a1f01edaac1c84d9389b34
BLAKE2b-256 0ff275d7c6494631e0240569216ad52dbec7930b594cb4e4618bb9f9b66eedec

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