feat(pass): rename store-dotenv and restore-dotenv to save-dotenv and load-dotenv for clarity

This commit is contained in:
Janik von Rotz committed 2025-07-27 17:08:08 +02:00
1 parent 4d7a50b15f
commit 874a2e36ee
3 files changed
+13 -7

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
function restore-dotenv() {
function load-dotenv() {
if pass find "$PASS_ENTRY" >/dev/null; then
echo "Restore .env file from pass: $PASS_ENTRY"
pass show "$PASS_ENTRY" > .env
+2 -2
View File
@@ -1,10 +1,10 @@
#!/bin/bash
function store-dotenv() {
function save-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
}
}