[Koha-bugs] [Bug 34335] Run Koha plugin method from CLI
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 21 03:44:41 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34335
David Cook <dcook at prosentient.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #153747|0 |1
is obsolete| |
--- Comment #6 from David Cook <dcook at prosentient.com.au> ---
Created attachment 153749
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153749&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
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list