Class YankNthArg
java.lang.Object
org.aesh.readline.action.mappings.YankNthArg
- All Implemented Interfaces:
Consumer<InputProcessor>,Action
Insert the first argument to the previous command (usually the second
word on the previous line) at point. Without a numeric argument, this
inserts the first argument of the previous command.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(InputProcessor inputProcessor) Executes this action on the given input processor.name()Returns the name of this action.
-
Constructor Details
-
YankNthArg
public YankNthArg()
-
-
Method Details
-
name
Description copied from interface:ActionReturns the name of this action. -
accept
Description copied from interface:ActionExecutes this action on the given input processor.- Specified by:
acceptin interfaceAction- Specified by:
acceptin interfaceConsumer<InputProcessor>- Parameters:
inputProcessor- the input processor to operate on
-