Right you can’t modify the source, but the idea is what if you put a bunch of currently defined commands together and then put them into their own command. Like how when programming you can chunk a bunch of code together and put it into a function. It makes it easier to maintain a large program since you can abstract away parts of it.
The problem I am having is I run the same 4 commands a bunch just on a different target each time. It makes it challenging to read what’s happening if every command is listed. To solve this I could make a macro, but the problem with that is I can’t pass a macro a unique target.
An alternative to writting a custom command would be if I could pass a parameter to the run command. For example, the above code would be converted to