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
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
-
RunScriptCommand
RunScriptCommand()
-
Groovy Documentation