class RegisterCommand extends CommandSupport
The 'register' command. Registers a class as a new groovysh command. Requires the command to have matching constructors (shell) or (shell, name, alias).
Type | Name and description |
---|---|
static String |
COMMAND_NAME |
Constructor and description |
---|
RegisterCommand(Groovysh shell) |
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.