class HistoryCommand extends ComplexCommandSupport
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 recall - serves to rerun a command from the history by its index. There is a moving window of indexes, so the first valid index will usually be greater than zero.
history show - shows a list of indexes and past commands
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.