Bug 30999

Summary: Add a script to manage plugins from the command line
Product: Koha Reporter: paxed <pasi.kallinen>
Component: Command-line UtilitiesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, martin.renvoize, robin
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28498
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25671
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25672
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: adds a very simple command line script for managing plugins

Description paxed 2022-06-21 07:38:35 UTC
There should be a script to manage plugins from the command line.
Comment 1 paxed 2022-06-21 07:41:56 UTC
Created attachment 136387 [details] [review]
adds a very simple command line script for managing plugins

This adds a very simple script that allows listing, enabling, and
disabling plugins from the command line. It should be helpful for
system admins to manage multiple koha instances.

Test:

1) run the script without parameters to list all plugins.
2) run it with --enable Plugin::Class::Here to enable a plugin
3) run it with --disable Plugin::Class::Here to disable a plugin
Comment 2 Martin Renvoize 2022-06-21 08:21:27 UTC
How about merging in the functionality of misc/devel/install_plugins.pl and having install/enable/disable for management.

I'm game to help with such an effort.
Comment 3 Martin Renvoize 2022-06-21 08:22:37 UTC
A 'list' command might be pretty useful too.
Comment 4 David Cook 2022-06-22 00:31:50 UTC
I'd be interested in testing a fully featured management script as well.