poule icon indicating copy to clipboard operation
poule copied to clipboard

Support Go 1.8 plugins

Open icecrime opened this issue 8 years ago • 1 comments

Description

Golang is adding support for plugins: we should leverage that! This would allow projects to add non-generic operations for their particular use case (which probably version-label and others in the current tree probably should be).

What should be done?

The tool should look for plugins in a subdirectory, and dynamically load any operations it can find. The plugins would likely provide the OperationDescriptor interface.

icecrime avatar Sep 20 '16 21:09 icecrime

Until Go 1.8 is mainstream, I'd love to have a Makefile rule that builds with a plugin build tag to support that feature.

icecrime avatar Sep 20 '16 21:09 icecrime