The below example scripted plugin will create a command called {{{argExample}}}. The command does not do anything other than print the arguments passed to the various flags on the command. Furthermore, you can pass object names to it as the first positional argument, and if it finds none, will instead try to operate on what you have selected.