this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add push function to `r`

alice 319c7f73 6204d91d

+15 -1
+15 -1
r
··· 28 28 rebble wipe 29 29 } 30 30 31 + # Function to push the project to the Pebble 32 + push() { 33 + echo "Pushing project to Pebble..." 34 + rebble install --phone "$1" 35 + } 36 + 31 37 # Parse the command line argument 32 38 COMMAND=$1 33 - USAGE="Usage: ./r {generate|build|install|debug|wipe}" 39 + USAGE="Usage: ./r {generate|build|install|debug|wipe|push}" 34 40 35 41 # Check if a command was provided 36 42 if [ -z "$COMMAND" ]; then ··· 58 64 install 59 65 # Stream verbose emulator logs for live debugging 60 66 rebble logs --emulator basalt -v 67 + ;; 68 + push) 69 + if [ -z "$2" ]; then 70 + echo "Error: Phone argument required for push command" 71 + echo "Usage: ./r push <phone-ip>" 72 + exit 1 73 + fi 74 + push "$2" 61 75 ;; 62 76 *) 63 77 echo "$USAGE"