Add resume pdf & html

This commit is contained in:
2025-06-12 15:09:24 -07:00
parent 989107517a
commit 44fa26ba30
5 changed files with 30 additions and 1 deletions

View File

@ -1,6 +1,12 @@
#!/bin/bash
MFA_TOKEN=$1
<<<<<<< HEAD
=======
# Capture everything from second argument onward as a command
shift
COMMAND=("$@")
>>>>>>> 1437cee (Add resume pdf & html)
if [ -z "$1" ]; then
echo "Error: Run with MFA token!"
@ -25,5 +31,13 @@ export AWS_SECRET_ACCESS_KEY=$(echo "$SESSION_OUTPUT" | jq '.Credentials.SecretA
#echo $AWS_SESSION_TOKEN
#echo $AWS_ACCESS_KEY_ID
#echo $AWS_SECRET_ACCESS_KEY
<<<<<<< HEAD
aws s3 ls s3://witch-lab-3
echo "finished!"
echo "finished!"
=======
# aws s3 ls s3://witch-lab-3
if command -v "$COMMAND" >/dev/null 2>&1; then
"${COMMAND[@]}"
fi
>>>>>>> 1437cee (Add resume pdf & html)