split the ansible agnostic packages installation into cli and gui packages
This commit is contained in:
parent
34ddb9c568
commit
d497490285
3 changed files with 29 additions and 3 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue