This Script can be used to control your Echo devices via CLI.
Alexa Remote Control on Github
Alexa Remote Control on Lötzimmer (with examples)