Created
January 3, 2024 12:48
-
-
Save castrojo/2ab159ab19946e2c470529f84d1cff7f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GNU nano 7.2 bluefin-cli.just | |
bluefin-cli: | |
#!/usr/bin/env bash | |
echo "Configuring Bluefin's CLI" | |
OPTION=$(gum choose "Ubuntu" "Fedora" "Bluefin" "None") | |
if [ "$OPTION" = "Ubuntu" ] | |
then | |
distrobox-create --nvidia --image ghcr.io/ublue-os/ubuntu-toolbox:latest -n ubuntu -Y | |
elif [ "$OPTION" = "Fedora" ] | |
then | |
distrobox-create --nvidia --image ghcr.io/ublue-os/fedora-distrobox:latest -n fedora -Y | |
elif [ "$OPTION" = "Bluefin" ] | |
then | |
distrobox-create --nvidia --image ghcr.io/ublue-os/bluefin-cli:latest -n bluefin -Y -a | |
elif [ "$OPTION" = "None" ] | |
then | |
echo "Doing nothing, have a nice day!" | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment