Interact with the command line using natural language | 用自然语言操控命令行
Project description
简体中文 | English
CMDGPT | Manipulate command line with natural language
Install
pip install cmdgpt
Error: command not found: cmdgpt
Please add the following content to your /.bashrc or /.zshrc file:
export PATH=$PATH:~/.local/bin
Then run source ~/.bashrc or source ~/.zshrc to reload the file.
Usage
Set OpenAI api-key:
cmdgpt --key "sk-xxx……xxx"
Describe your opeartion
cmdgpt "Create a folder named 'www' with an 'index.html' file inside."
Chat Mode
cmdgpt --chat
Set api-url
cmdgpt --url "你的api-url"
Know Issue
- Unable to use commands such as
cdandsource. - CMDGPT on Windows only supports providing commands, it cannot execute them.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cmdgpt-0.4.1.tar.gz
(20.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cmdgpt-0.4.1-py3-none-any.whl
(20.2 kB
view details)
File details
Details for the file cmdgpt-0.4.1.tar.gz.
File metadata
- Download URL: cmdgpt-0.4.1.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
beb0dc33dec69762828f3537ceca246f4cdb18223c8e0b4b42e7308db097ddcb
|
|
| MD5 |
e8655233250c2155f8cc0fd789902bda
|
|
| BLAKE2b-256 |
d3cf6f72e3a2fe1b1e6aab18e5ec4d732b9c73aac56f52aa1637478df974aa83
|
File details
Details for the file cmdgpt-0.4.1-py3-none-any.whl.
File metadata
- Download URL: cmdgpt-0.4.1-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13b45c1764186fdf6cbc48cd0fb900741ed5bc41b602b0644d50c99a2fc883e5
|
|
| MD5 |
8d0d0abcac6d7e956cbba8ab6d73e6f2
|
|
| BLAKE2b-256 |
dc1ad77b04ddf427b6029af24f9bde2c8fe4037ff7c6da2158876ae73b995b7d
|