Werk #14984: MKP manager commandline interface: Fix 'remove' and 'disable' commands

Component Checks & agents
Title MKP manager commandline interface: Fix 'remove' and 'disable' commands
Date Nov 18, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p31 2.1.0p17 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required

The mkp remove command (or cmk -P remove) has been fixed to reflect the recent changes in the GUI. You can only remove disabled packages.

The 'disable' command to do this was intruced with 2.0.0p30, but defunct. It is now fixed.

Since you can have different versions of the same package uploaded, you have to specify the version as well now:

mkp remove NAME VERSION

To the list of all Werks