blink1

Control blink(1) USB indicator light from the command line.

brewmacoslinux
Try with needOr install directly
Source

About

Control blink(1) indicator light

Commands

blink1-tool

Examples

turn light on with a specific color$ blink1-tool --rgb FF0000
blink the light on and off repeatedly$ blink1-tool --blink 10
fade light smoothly to a color over time$ blink1-tool --rgb 00FF00 --fadeMillis 1000
set light brightness level$ blink1-tool --rgb FFFFFF --brightness 50
turn off the light completely$ blink1-tool --rgb 000000