devos/pkgs/bud/get.bash
2021-07-07 21:03:31 -05:00

6 lines
169 B
Bash

if [[ "$1" == "core" || "$1" == "community" ]]; then
nix flake new -t "github:divnix/devos/$1" "${2:-devos}"
else
echo "bud get (core|community) [DEST]"
exit 1
fi