Command Reference

All available CLI flags and options.

Basic Usage

bash
java -jar target/ScayTux.jar [OPTIONS]

Run with no arguments to launch Interactive Mode. Add flags for direct command execution.

All Commands

FlagDescription
-i, --interactiveForce interactive mode
--flapFlap wings up and down
--eyes <bool>Open (true) or close (false) eyes
--blink <n>Blink eyes N times
--mouth <bool>Open (true) or close (false) mouth
--talk <n>Move mouth N times (simulate talking)
--spin <dir>Spin left or right
--val <n>Duration/loops for spin (default 20)
--led <color>LED color (1=Red, 2=Blue, 3=Yellow)
--intensity <n>LED intensity (0-255)
--say <text>Speak text with TTS and lip sync
--combo <id>Run a cinematic combo (1-55)
--play <file>Play MP3 file with auto dance
--spin-doctorRun spin motor diagnostic
-l, --listCheck device connection
-d, --debugDebug HID input monitor

Examples

Make Tux flap, blink, and speak:

bash
java -jar target/ScayTux.jar --flap --blink 3 --say "Hello!"

Spin left for a long time with blue LED:

bash
java -jar target/ScayTux.jar --spin left --val 200 --led 2 --intensity 255

Play music with auto-dance:

bash
java -jar target/ScayTux.jar --play assets/audio/billie.mp3

Run the Police Mode combo:

bash
java -jar target/ScayTux.jar --combo 6