Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MagicCube/cli-gpt
Translate human language to command line using ChatGPT.
https://github.com/MagicCube/cli-gpt
Last synced: 3 months ago
JSON representation
Translate human language to command line using ChatGPT.
- Host: GitHub
- URL: https://github.com/MagicCube/cli-gpt
- Owner: MagicCube
- License: mit
- Created: 2023-03-07T08:04:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-03-15T07:22:56.000Z (over 1 year ago)
- Last Synced: 2024-06-17T05:36:55.670Z (5 months ago)
- Language: TypeScript
- Size: 7.76 MB
- Stars: 99
- Watchers: 1
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gpt - cli-gpt
README
# cli-gpt
Translate human language to command line using ChatGPT.
## Usage
```sh-session
$ 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...... donegit 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...... donedocker rmi $(docker images -f "dangling=true" -q)
CAUTION: This command is dangerous!
$ cgpt 删除所有文件和文件夹
Translating your words into command line...... donerm -rf *
CAUTION: This command is dangerous!
```![](docs/images/animation.gif)
## Documents
请参考[中文文档](docs/index.md)