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
cd
andsource
. - 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.2.4.tar.gz
(19.6 kB
view hashes)
Built Distribution
cmdgpt-0.2.4-py3-none-any.whl
(20.0 kB
view hashes)