The 'history' command.
Modifiers | Name | Description |
---|---|---|
static String |
COMMAND_NAME |
Fields inherited from class | Fields |
---|---|
class ComplexCommandSupport |
defaultFunction, functions |
class CommandSupport |
NEWLINE, io, log, messages, registry, shell |
Constructor and description |
---|
HistoryCommand
(Groovysh shell) |
Methods inherited from class | Name |
---|---|
class ComplexCommandSupport |
createCompleters, execute, executeFunction, loadFunction |
class CommandSupport |
alias, assertNoArguments, createCompleters, fail, fail, getAliases, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getDescription, getHelp, getHidden, getHistory, getImports, getName, getShortcut, getUsage, getVariables |
history show shows a list of indexes and past commands. recall serves to rerun one of those by their index. There is is moving window of indexes, so the first valid index will usually be greater than zero.
Copyright © 2003-2018 The Apache Software Foundation. All rights reserved.