Class History
java.lang.Object
org.springframework.shell.jline.command.History
A command that displays all previously run commands, optionally dumping to a file
readable by
Script.- Author:
- Eric Bottard, Mahmoud Ben Hassine
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
History
public History(org.jline.reader.History jLineHistory)
-
-
Method Details
-
history
@Command(name="history", description="Display or save the history of previously run commands") public List<String> history(@Option(description="A file to save history to.") File file) throws IOException - Throws:
IOException
-