You misremember. Back in 2010 the command was optirun. Although more than one solution exists under the hood user friendly distros (not arch) generally had you right click on the game in your menu and select something like run with nvidia. Throughout the last like 14 years the 2 dominant things were optirun foo and prime-run foo
5 years ago it was not a single command anywhere as far as I know. historic arch link since the history button was easy to find, but I think the process was similar elsewhere: https://wiki.archlinux.org/index.php?title=NVIDIA_Optimus&oldid=523777
You misremember. Back in 2010 the command was optirun. Although more than one solution exists under the hood user friendly distros (not arch) generally had you right click on the game in your menu and select something like run with nvidia. Throughout the last like 14 years the 2 dominant things were optirun foo and prime-run foo