magiccube-cli-gpt
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

cli-gpt

Translate human language to command line using ChatGPT.

Usage

$ npm install -g magiccube-cli-gpt

$ export OPENAI_API_KEY="***your-openai-api-key***"

$ cgpt clone react from github and switch to a new branch named feature/gpt
Translating your words into command line...... done

git clone https://github.com/facebook/react.git && cd react && git checkout -b feature/gpt

$ cgpt delete all the docker untitled images
Translating your words into command line...... done

docker rmi $(docker images -f "dangling=true" -q)

CAUTION: This command is dangerous!

$ cgpt 删除所有文件和文件夹
Translating your words into command line...... done

rm -rf *

CAUTION: This command is dangerous!

Documents

请参考中文文档

Package Sidebar

Install

npm i magiccube-cli-gpt

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

12.2 kB

Total Files

27

Last publish

Collaborators

  • magiccube