cmdgpt-0.4.1
توضیحات
Interact with the command line using natural language | 用自然语言操控命令行
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cmdgpt-0.4.1 |
| نام | cmdgpt |
| نسخه کتابخانه | 0.4.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | MZhao |
| ایمیل نویسنده | mzhao.ouo@gmail.com |
| آدرس صفحه اصلی | https://github.com/MZhao-ouo/CMDGPT |
| آدرس اینترنتی | https://pypi.org/project/cmdgpt/ |
| مجوز | MIT |
<div align="right">
<!-- 语言: -->
<a title="简体中文" href="README.md">简体中文</a> | English
</div>
<img height="128" align="left" src="https://user-images.githubusercontent.com/70903329/228310136-b27cbe83-e7e1-4560-ba75-1b418ba9e5a0.png" alt="Logo">
# CMDGPT | Manipulate command line with natural language
[](https://github.com/MZhao-ouo/CMDGPT/actions/workflows/release.yml)
[](https://pypi.org/project/cmdgpt/)
[](https://pypi.org/project/cmdgpt/)

## Install
```sh
pip install cmdgpt
```
**Error: `command not found: cmdgpt`**
Please add the following content to your `/.bashrc` or `/.zshrc` file:
```sh
export PATH=$PATH:~/.local/bin
```
Then run `source ~/.bashrc` or `source ~/.zshrc` to reload the file.
## Usage
**Set OpenAI api-key:**
```sh
cmdgpt --key "sk-xxx……xxx"
```
**Describe your opeartion**
```sh
cmdgpt "Create a folder named 'www' with an 'index.html' file inside."
```
**Chat Mode**
```sh
cmdgpt --chat
```
**Set api-url**
```sh
cmdgpt --url "你的api-url"
```
**Know Issue**
- Unable to use commands such as `cd` and `source`.
- CMDGPT on Windows only supports providing commands, it cannot execute them.
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | colorama |
نحوه نصب
نصب پکیج whl cmdgpt-0.4.1:
pip install cmdgpt-0.4.1.whl
نصب پکیج tar.gz cmdgpt-0.4.1:
pip install cmdgpt-0.4.1.tar.gz