I am using lein (leiningen) with clojure – and writing a plugin to automate some common tasks. I would like to have my plugin depend on, and call another plugins functionality – but I am not sure how to do that without something hacky – any ideas?
Share
Just declare the other plugin as a dependency of the one you are working on, then require its namespace in your code and call the functions you need.
See lein-margauto (which depends on lein-marginalia) for an actual working example.