@ShellComponent public class History extends Object
Script.| Modifier and Type | Class and Description |
|---|---|
static interface |
History.Command
Marker interface for beans providing history functionality to the shell.
|
| Constructor and Description |
|---|
History(org.jline.reader.History jLineHistory) |
@ShellMethod(value="Display or save the history of previously run commands") public List<String> history(@ShellOption(help="A file to save history to.",defaultValue="__NULL__") File file) throws IOException
IOExceptionCopyright © 2023. All rights reserved.