Package: org.apache.groovy.groovysh

## [Groovy] Class CommandAlias

- org.apache.groovy.groovysh.CommandAlias

-     class CommandAlias
      extends CommandSupport

  Provides simple command aliasing.

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

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `private String` | `targetName`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `CommandAlias (Groovysh shell, String name, String shortcut, String target)`
    `CommandAlias ()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `protected List<Completer>` | `createCompleters()`
    `` | `Object` | `execute(List<String> args)`
    `` | `String` | `getDescription()`
    `` | `String` | `getHelp()`
    `` | `boolean` | `getHidden()`
    `` | `Command` | `getTarget()`
    `` | `String` | `getUsage()`

  - ### 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 final String targetName

  - ### Constructor Detail

    - #### CommandAlias(Groovysh shell, String name, String shortcut, String target)

    - #### CommandAlias()

  - ### Method Detail

    - #### @Override protected List<Completer> createCompleters()

    - #### @Override Object execute(List<String> args)

    - #### @Override String getDescription()

    - #### @Override String getHelp()

    - #### @Override boolean getHidden()

    - #### Command getTarget()

    - #### @Override String getUsage()