MCPcopy Index your code
hub / github.com/MZhao-ouo/CMDGPT

github.com/MZhao-ouo/CMDGPT @v0.4.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.4.1 ↗ · + Follow
21 symbols 75 edges 7 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

简体中文 | English

Logo

CMDGPT | Manipulate command line with natural language

Release Version Pypi

cmdgpt演示-_online-video-cutter com_

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 and source. - CMDGPT on Windows only supports providing commands, it cannot execute them.

Core symbols most depended-on inside this repo

full_column_str
called by 3
cmdgpt/utils.py
get_chat_response
called by 3
cmdgpt/openai_func.py
decode_chat_response
called by 3
cmdgpt/openai_func.py
init_conf
called by 2
cmdgpt/utils.py
get_key
called by 2
cmdgpt/utils.py
get_billing_data
called by 2
cmdgpt/openai_func.py
load_conf
called by 1
cmdgpt/utils.py
process_file
called by 1
cmdgpt/utils.py

Shape

Function 21

Languages

Python100%

Modules by API surface

cmdgpt/functions.py9 symbols
cmdgpt/utils.py6 symbols
cmdgpt/openai_func.py4 symbols
cmdgpt/main.py2 symbols

For agents

$ claude mcp add CMDGPT \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact