I've always suspected such a tool must exist in a typical *nix environment but never bothered to search for it. This is very helpful. Thanks for the simple example!
There's also an interactive mode if you leave out the positional arguments. That's my go-to CLI calculator, it knows enough arithmetic and the understanding of units is a nice bonus.
or 1.71ish gigawatts -- https://www.google.com/search?q=15+terawatt+hours+per+year+t...
I'm pretty impressed google handled that conversion. I mathed it out independently but not even wolframalpha got it.