Griffon 1.2.0

org.codehaus.griffon.cli.shell.command
[Java] Class ArchetypeInfoCommand

java.lang.Object
  org.codehaus.griffon.cli.shell.AbstractGriffonCommand
      org.codehaus.griffon.cli.shell.command.ArchetypeInfoCommand

@Command(scope = "griffon",
        name = "archetype-info",
        description = "Displays information on a Griffon archetype")
public class ArchetypeInfoCommand
extends AbstractGriffonCommand

Authors:
Andres Almiray
Since:
0.9.5


Field Summary
private String name

private String repository

private boolean skipDescription

private String version

 
Fields inherited from class AbstractGriffonCommand
env, nonInteractive
 
Constructor Summary
ArchetypeInfoCommand()

 

Field Detail

name

@Argument(index = 0,
            name = "name",
            description = "The name of the archetype to look for.",
            required = true)
private String name


repository

@Option(name = "--repository",
            description = "Name of an specific repository where the search will be performed.",
            required = false)
private String repository


skipDescription

@Option(name = "--skip-description",
        description = "Do not display the archetype's description.",
        required = false)
private boolean skipDescription


version

@Argument(index = 1,
            name = "version",
            description = "The version of the archetype to look for.",
            required = false)
private String version


 
Constructor Detail

ArchetypeInfoCommand

ArchetypeInfoCommand()


 

Groovy Documentation