How can I run my game with parameters (command-line arguments)?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Kyle Guarco

Something like

$ game --run-with-gles3 --rcfile=$PWD/rc.gd

:bust_in_silhouette: Reply From: Ertain

From the looks of it, you can: use the get_cmdline_args() function. See the methods in the OS class for more details.