@ShellComponent public class Script extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Script.Command
Marker interface for beans providing script functionality to the shell.
|
public Script(Shell shell, org.jline.reader.Parser parser)
@ShellMethod(value="Read and execute commands from a file.") public void script(File file) throws IOException
IOException
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.