Griffon 1.2.0

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

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

@Command(scope = "griffon",
        name = "create-script",
        description = "Creates a Griffon Gant Script")
public class CreateScriptCommand
extends AbstractGriffonCommand

Authors:
Andres Almiray
Since:
0.9.5


Field Summary
private String archetype

private String name

private boolean withCommandSupport

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

 

Field Detail

archetype

@Option(name = "--archetype",
            description = "Archetype to be searched for templates.",
            required = false)
private String archetype


name

@Argument(index = 0,
            name = "name",
            description = "The name of the script to be created.",
            required = false)
private String name


withCommandSupport

@Option(name = "--with-command-support",
            description = "Creates additional files required for shell options and help.",
            required = false)
private boolean withCommandSupport


 
Constructor Detail

CreateScriptCommand

CreateScriptCommand()


 

Groovy Documentation