1
0
Fork 0

split the ansible agnostic packages installation into cli and gui packages

This commit is contained in:
cătălin 2024-08-22 10:05:47 +02:00
commit d497490285
No known key found for this signature in database
3 changed files with 29 additions and 3 deletions

View file

@ -17,6 +17,19 @@ function envsource
end
end
function envunset
if not set -q argv[1]
set argv[1] ".env"
end
echo "Using $argv[1] as input file"
for line in (grep -v '^\s*\(#\|$\)' $argv[1] | grep -E '^[A-Za-z_]+=[^#\n]+')
set item (string split -m 1 '=' $line)
set -e $item[1]
echo "key $item[1] unset"
end
end
function gen-secret
if not set -q argv[1]