This is not extensible at all, so not a good fit for a plugin API

Then stick a ... as the last parameter, infinitely extensible :)

An actual sensible good trick used by Linux system calls (among others) is to always have a flags parameter as the last thing, then you can add options for stuff like prefix or whatever else could be represented as a bitmask.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.