简体中文 | 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.
Metadata
Release files for cmdgpt 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cmdgpt-0.4.1.tar.gz | 20.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cmdgpt-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.6 kB
Release files / cmdgpt-0.4.1.tar.gz
| Download URL | cmdgpt-0.4.1.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
beb0dc33dec69762828f3537ceca246f4cdb18223c8e0b4b42e7308db097ddcb
|
|
BLAKE2b-256 checksum How to use checksums |
d3cf6f72e3a2fe1b1e6aab18e5ec4d732b9c73aac56f52aa1637478df974aa83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / cmdgpt-0.4.1-py3-none-any.whl
| Download URL | cmdgpt-0.4.1-py3-none-any.whl |
|---|---|
| Size | 20.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13b45c1764186fdf6cbc48cd0fb900741ed5bc41b602b0644d50c99a2fc883e5
|
|
BLAKE2b-256 checksum How to use checksums |
dc1ad77b04ddf427b6029af24f9bde2c8fe4037ff7c6da2158876ae73b995b7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|