Looking at some scripting samples, to run some basic commands I’ve seen some projects copy-paste a snippet
like this in each script that needs to run any such commands.
Is there something built-in or at least existing in some official library which could make this process just a bit easier? Maybe those samples I’ve looked at don’t do that to be faster to run and there is some easy to grab library which I am just not aware of?