This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Prompt the user for the API key, language, and description | |
| read -p "Enter your CodePal.ai API key: " API_KEY | |
| read -p "Enter the programming language: " language | |
| read -p "Enter the code description: " description | |
| # Set the API endpoint | |
| API_ENDPOINT="https://api.codepal.ai/v1/code-generator/query" |