Package: org.codehaus.groovy.tools.shell.commands

## [Groovy] Class RegisterCommand

- org.codehaus.groovy.tools.shell.commands.RegisterCommand

- The 'register' command. Registers a class as a new groovysh command. Requires the command to have matching constructors (shell) or (shell, name, alias).

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class CommandSupport` | `NEWLINE, io, log, messages, registry, shell`

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `private static String` | `COMMAND_NAME`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `RegisterCommand (Groovysh shell)`
    `RegisterCommand ()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `Object` | `execute(List args)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class CommandSupport` | `alias, assertNoArguments, createCompleters, fail, fail, getAliases, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getDescription, getHelp, getHidden, getHistory, getImports, getName, getShortcut, getUsage, getVariables`

- - ### Property Detail

    - #### private static final String COMMAND_NAME

  - ### Constructor Detail

    - #### RegisterCommand(Groovysh shell)

    - #### RegisterCommand()

  - ### Method Detail

    - #### @OverrideOverride Object execute(List args)