promotePlugin

Back to index

Summary

Sets the promoted argument on a plugin. Only one version of a plugin can be promoted at a time, so setting the promoted flag to true on one version sets the flag to false on all other plugins with the same key. The promoted version is the one resolved by an indirect reference of the form $[/plugins/<key>] or a plugin name argument without a specified version.
pluginName
Stringrequired
The name of the plugin.
promoted
Booleanoptional
True if the plugin should be promoted, otherwise false.

Usage

Perl

$cmdr->promotePlugin( "test-pluginName" # pluginName # optionals );

ectool

ectool promotePlugin \ "test-pluginName" `# pluginName` \ # optionals

Examples

Perl

$cmdr->promotePlugin("TheWidget-1.0");

ectool

ectool promotePlugin TheWidget-1.0