Closed sweep-ai[bot] closed 11 months ago
src/openai/cli/cheat_sheet.py
✓
Check src/openai/cli/cheat_sheet.py with contents:
Ran GitHub Actions for 1ef819efefc3278110d1ace186a486760b3f8cee:
src/openai/cli/__init__.py
✓
Check src/openai/cli/__init__.py with contents:
Ran GitHub Actions for 2dae296cb55dcf6aa41d806fe6a2ee29cc951251:
PR Feedback (click)
Description
This pull request adds a new CLI tool called "Cheat Sheet" to the OpenAI CLI. The tool provides information about the OpenAI API and its different functionalities.
Summary
cheat_sheet.py
file tosrc/openai/cli
directory.CLI
class in__init__.py
to handle CLI commands.add_command
method toCLI
class for adding new commands.CLI
and added thecheat_sheet
command.cheat_sheet.py
with argparse to handle command line arguments.--completions
,--chat
, and--fine-tuning
options tocheat_sheet.py
.Fixes #1.
🎉 Latest improvements to Sweep:
rope
library to refactor Python! Check out Large Language Models are Bad at Refactoring Code. To have Sweep refactor your code, trysweep: Refactor <your_file>.py
!💡 To get Sweep to edit this pull request, you can: