@SuppressWarnings(value="resource")
protected static class Main.ExtraConsoleCommands
extends JlineCommandRegistry
implements CommandRegistry
Registers the extra console commands that augment the interactive shell.
| Constructor and description |
|---|
ExtraConsoleCommands(Path workDir, GroovyEngine scriptEngine, LineReader reader)Creates the auxiliary console command registry used by the shell. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
List<String> |
commandInfo(String command)Returns summary text for the specified command. |
|
Path |
currentDir()Returns the current working directory tracked by the POSIX command context. |
|
String |
name()Returns the help-group name used for the extra console commands. |
Creates the auxiliary console command registry used by the shell.
workDir - initial working directoryscriptEngine - script engine backing the shell sessionreader - active line readerReturns summary text for the specified command.
command - command name to describeReturns the current working directory tracked by the POSIX command context.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.