Griffon 1.2.0

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

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

@Command(scope = "griffon",
        name = "run-script",
        description = "Runs a Groovy script with full classpath")
public class RunScriptCommand
extends AbstractGriffonCommand

Authors:
Andres Almiray
Since:
0.9.6


Field Summary
private List arguments

private boolean debug

private String script

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

 

Field Detail

arguments

@Argument(index = 1,
            name = "arguments",
            description = "Optional arguments to be passed to the running script.",
            required = false,
            multiValued = true)
private List arguments


debug

@Option(name = "--bootstrap",
            description = "Whether to bootstrap an application instance or not.",
            required = false)
private boolean debug


script

@Argument(index = 0,
            name = "script",
            description = "Name of the script to be executed.",
            required = true,
            multiValued = false)
private String script


 
Constructor Detail

RunScriptCommand

RunScriptCommand()


 

Groovy Documentation