chore: move env files to per-script env directory

This commit is contained in:
Esteban Vincent
2026-05-19 11:18:45 +02:00
committed by ForgeCode
parent 43968bc704
commit 1f507fdb38
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
.env
*.env
+2
View File
@@ -0,0 +1,2 @@
# Each script that needs to use the environment variables should have a env file with the same name as the script
# For example, if you have a script called `train.sh`, you should create a file called `train.env`.
+1 -1
View File
@@ -15,7 +15,7 @@
USER_ID="$1"
ENV_FILE="$HOME/Raycast/scripts/.env"
ENV_FILE="$HOME/Raycast/envs/get_graph_user.env"
if [[ ! -f "$ENV_FILE" ]]; then
echo "❌ .env not found at $ENV_FILE"
exit 1
+1 -1
View File
@@ -13,7 +13,7 @@
# @raycast.description Generate a meme via imgflip webhook and copy image to clipboard
# @raycast.author Esteban Vincent
ENV_FILE="$HOME/Raycast/scripts/.env"
ENV_FILE="$HOME/Raycast/envs/imgflip-meme.env"
if [[ ! -f "$ENV_FILE" ]]; then
echo "❌ .env not found at $ENV_FILE"
exit 1