Files
git.taskfile.build/bin/store-dotenv
T

10 lines
219 B
Bash

#!/bin/bash
function store-dotenv() {
if [ -f .env ]; then
echo "Store .env file in pass: $PASS_ENTRY"
cat .env | pass insert -m -f "$PASS_ENTRY"
else
echo "No .env file found."
fi
}