class EditCommand extends CommandSupport
The 'edit' command. Opens Editor to write into the current Buffer.
| Modifiers | Name | Description |
|---|---|---|
static String |
COMMAND_NAME |
| Constructor and description |
|---|
EditCommand(Groovysh shell) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Object |
execute(List<String> args) |
|
ProcessBuilder |
getEditorProcessBuilder(String editCommand, String tempFilename) |
|
void |
replaceCurrentBuffer(List<String> contents) |
| Methods inherited from class | Name |
|---|---|
class CommandSupport |
getAliases, getCompleter, getDescription, getHelp, getHidden, getName, getShortcut, getUsage |
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.