Bug 30999 - Add a script to manage plugins from the command line
Summary: Add a script to manage plugins from the command line
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-21 07:38 UTC by paxed
Modified: 2023-08-16 11:29 UTC (History)
3 users (show)

See Also:
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 (3.00 KB, patch)
2022-06-21 07:41 UTC, paxed
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.