|
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.InstallArchetypeCommand
@Command(scope = "griffon",
name = "install-archetype",
description = "Installs an archetype for the given URL or name and version")
public class InstallArchetypeCommand
extends AbstractGriffonCommand
| Field Summary | |
|---|---|
private String |
forceUpgrade
|
private String |
name
|
private String |
repository
|
private String |
version
|
| Fields inherited from class AbstractGriffonCommand | |
|---|---|
| env, nonInteractive |
| Constructor Summary | |
InstallArchetypeCommand()
|
|
| Field Detail |
|---|
@Option(name = "--force-upgrade",
description = "Forces upgrade if the archetype to be installed has a bigger major version than the currently installed (if there's one archetype installed that matches the same name).",
required = false)
private String forceUpgrade
@Argument(index = 0,
name = "name",
description = "The name of the archetype to install. You may specify an URL, a zip file or a regular name.",
required = true)
private String name
@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 archetype to install. May only be specified if an archetype name is supplied.",
required = false)
private String version
| Constructor Detail |
|---|
InstallArchetypeCommand()
Groovy Documentation