We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac373c6 commit 951c571Copy full SHA for 951c571
shellrhythm
@@ -13,4 +13,18 @@ elif [ "$1" == "--import" ]
13
then
14
echo "Attempting to import $2..."
15
python ./src/import.py $2
16
+elif [ "$1" == "update" ]
17
+ then
18
+ read -p "Do you want to update shellrhythm? [Y/n]: " yn
19
+ case $yn in
20
+ [Yy]*) git pull origin main ;;
21
+ [Nn]*) echo "Update aborted." ;;
22
+ esac
23
+elif [ "$1" == "help" ]
24
25
+ echo "Welcome to shellrhythm!"
26
+ echo ""
27
+ echo " shellrhythm Starts the game."
28
+ echo " shellrhythm --import Imports an online chart."
29
+ echo " shellrhythm update Checks for updates, then updates the game."
30
fi
0 commit comments