What is the command line equivalent to do this for High Sierra? I'm referencing this thread here that had it working on Yosemite.
Turn off MacBook Pro's display while connected to external monitor on Yosemite
The following no longer works:
sudo nvram boot-args=niog=1