https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34335
Paul Derscheid <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #153749|0 |1 is obsolete| | --- Comment #10 from Paul Derscheid <[email protected]> --- Created attachment 153760 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153760&action=edit Bug 34335: Add a script to run Koha plugin methods from the CLI This change adds a script which allows you to run a method from a Koha plugin. Test plan: 0. Apply patch 1. Upload test plugin 2. Run the following: perl misc/run_koha_plugin.pl --class Koha::Plugin::Prosentient::CustomMethodPlugin \ --method awesome_method --params '{"msg": "this is awesome"}' 3. Note the following CLI messages: This is a custom method that you're seeing on the CLI! We got a message: this is awesome Signed-off-by: Paul Derscheid <[email protected]> Great stuff! Example works flawlessly. I will now try to break it ;) -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
