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-git-commit · 235 bytes · 7 lines
| 1 | #!/bin/bash |
| 2 | if [ -z "$ASKROBOTS_COMMITGEN_PATH" ]; then |
| 3 | echo "Error: ASKROBOTS_COMMITGEN_PATH is not set. Please set it to the askrobots_commitgen project directory." |
| 4 | exit 1 |
| 5 | fi |
| 6 | |
| 7 | python "$ASKROBOTS_COMMITGEN_PATH/main.py" "$@" |