Is it possible to assign plugin license limits with a script/commandline?

Is it possible to have two simple license limits and swap them with a script?

A script/commandline equivalent of clicking the ‘Set Limits’ button in Configure Plugins:

image