|
Griffon 1.2.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.griffon.cli.shell.AbstractGriffonCommand
org.codehaus.griffon.cli.shell.command.InstallPluginCommand
@Command(scope = "griffon",
name = "install-plugin",
description = "Installs a plugin for the given URL or name and version")
public class InstallPluginCommand
extends AbstractGriffonCommand
| Field Summary | |
|---|---|
private String |
forceUpgrade
|
private boolean |
framework
|
private String |
name
|
private boolean |
noclean
|
private String |
repository
|
private String |
version
|
| Fields inherited from class AbstractGriffonCommand | |
|---|---|
| env, nonInteractive |
| Constructor Summary | |
InstallPluginCommand()
|
|
| Field Detail |
|---|
@Option(name = "--force-upgrade",
description = "Forces upgrade if the plugin to be installed has a bigger major version than the currently installed (if there's one plugin installed that matches the same name).",
required = false)
private String forceUpgrade
@Option(name = "--framework",
description = "Installs the plugin as a framework plugin.",
required = false)
private boolean framework
@Argument(index = 0,
name = "name",
description = "The name of the plugin to install. You may specify an URL, a zip file or a regular name.",
required = true)
private String name
@Option(name = "--noclean",
description = "Do not clean project after plugin has been installed.",
required = false)
private boolean noclean
@Option(name = "--repository",
description = "Name of an specific repository where the search will be performed.",
required = false)
private String repository
@Argument(index = 1,
name = "version",
description = "The version of the plugin to install. May only be specified if an plugin name is supplied.",
required = false)
private String version
| Constructor Detail |
|---|
InstallPluginCommand()
Groovy Documentation