[Koha-bugs] [Bug 34335] Run Koha plugin method from CLI

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 4 02:24:04 CEST 2023


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

--- Comment #14 from David Cook <dcook at prosentient.com.au> ---
(In reply to Marcel de Rooy from comment #13)
> Why not just call something like:
> 
> perl -MKoha::Plugin::RMA::ItemHook::Adapter
> -e"Koha::Plugin::RMA::ItemHook::Adapter->new->install"
> 
> etc.
> 
> Do we really need a script for that?

That's an overly simplistic example.

For a more complicated example, you'd need to write a full custom Perl script. 

This change means you don't need a custom script. You can just pass in
configuration/data.

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


More information about the Koha-bugs mailing list