pmset -g assertions
link: https://www.macworld.com/article/1168151/find-out-whats-keeping-your-mac-awake.html
If you are looking for the complete option like I was:
sudo systemsetup -setcomputersleep Never
pmset -g assertions
link: https://www.macworld.com/article/1168151/find-out-whats-keeping-your-mac-awake.html
If you are looking for the complete option like I was:
sudo systemsetup -setcomputersleep Never