askrobots / askrobots_commitgen
Public
AI-Powered Git Commit Message Generator
danq9
Create commit message adjusting OpenAI initialization and error handling.
c0d2e25
2 years, 6 months ago
History
ar-code-overview · 336 bytes · 9 lines
| 1 | #!/bin/bash |
| 2 | |
| 3 | # Assuming ASKROBOTS_COMMITGEN_PATH is set to the directory containing your Python scripts |
| 4 | if [ -z "$ASKROBOTS_COMMITGEN_PATH" ]; then |
| 5 | echo "Error: ASKROBOTS_COMMITGEN_PATH is not set. Please set it to the askrobots_commitgen project directory." |
| 6 | exit 1 |
| 7 | fi |
| 8 | |
| 9 | python "$ASKROBOTS_COMMITGEN_PATH/code_overview.py" "$@" |