I have some ideas where it could be useful to be able to run a Koha plugin as a script. For example: "echo <oaipmh>records</oaipmh> | koha-plugin --run Koha::Plugin::Dcook::Oaipmh::Harvester --method import kohadev"
This particular case wouldn't be very efficient, but I imagine other use cases could be thought up
(In reply to David Cook from comment #0) > I have some ideas where it could be useful to be able to run a Koha plugin > as a script. > > For example: > "echo <oaipmh>records</oaipmh> | koha-plugin --run > Koha::Plugin::Dcook::Oaipmh::Harvester --method import kohadev" Oh actually... that should've been more like this: For example: "echo {"repository":"http://repo.org","verb":"GetRecord","metadataPrefix":"marcxml"} | koha-plugin --run Koha::Plugin::Dcook::Oaipmh::Harvester --method import kohadev"
*** This bug has been marked as a duplicate of bug 34335 ***