Skip to main content

Interact with the command line using natural language | 用自然语言操控命令行

Project description

简体中文 | 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.

Project details


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.5.tar.gz (19.8 kB view hashes)

Uploaded Source

Built Distribution

cmdgpt-0.2.5-py3-none-any.whl (20.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page