Class History
java.lang.Object
org.springframework.shell.standard.commands.History
A command that displays all previously run commands, optionally dumping to a file readable by
Script
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Marker interface for beans providing history functionality to the shell. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
History
public History(org.jline.reader.History jLineHistory)
-
-
Method Details
-
history
@ShellMethod("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 - Throws:
IOException
-