[Koha-bugs] [Bug 26169] Run plugins from the CLI / as a script

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 7 05:12:50 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26169

--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
(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"

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list