As a teacher, I was often in situations where a lesson would go on for a while with no computer interaction, and another teacher recommended Amphetamine. It worked well and I never discovered the shell command. I actually tried for a bit and never discovered a GUI option. Do you have a link handy?
Select either Battery or Power Adapter to make changes to how the system will go to sleep/turn the display off after a certain amount of time.
Sometimes Apple's design is so stuck in the 90s that I have a hard time wrapping my head around it.
I don't doubt it has its uses, but is it really OS functionality?
I suspect the defaults cover 90% of cases and System Prefs/caffinate cover maybe 90% of what's left.
Example: Closed-lid Macbooks with external display will go to sleep without this tool.
Closed-lid + External Monitor + Power Supply = awake
Closed-lid + External Monitor + Battery = sleep
Closed-lid + External Monitor + Battery + Amphetamine = awake