devshell: Allow deploy-multi without options
CI / Check, build and cache nixfiles (push) Has been cancelled
CI / Check, build and cache nixfiles (push) Has been cancelled
This commit is contained in:
@@ -144,7 +144,11 @@ in
|
|||||||
help = "Deploy multiple flakes at once";
|
help = "Deploy multiple flakes at once";
|
||||||
command = ''
|
command = ''
|
||||||
for f in $@; do
|
for f in $@; do
|
||||||
|
if [ -n "''${O:-}" ]; then
|
||||||
deploy "$O" $f
|
deploy "$O" $f
|
||||||
|
else
|
||||||
|
deploy $f
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user