Just wanted to share this useful tool I found on Github (written by @joecannatti) and updated a little bit to work out some small issues. Feel free to push any changes if you want to update something. :)
Roku Command Line Remote for Linux/Mac | Heykuki News