That sounds like a reasonable approach, assuming plugin authors then have sample snippets like this here:
https://stackoverflow.com/questions/...le-within-code
Or perhaps make it available in the launcher, if this is a significant use case.
No need to bother the hapless user.