Package: org.codehaus.groovy.tools.shell

## [Groovy] Class CommandAlias

- org.codehaus.groovy.tools.shell.CommandAlias

- 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` | `createCompleters()`
    `` | `Object` | `execute(List 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

    - #### @OverrideOverride protected List createCompleters()

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

    - #### @OverrideOverride String getDescription()

    - #### @OverrideOverride String getHelp()

    - #### @OverrideOverride boolean getHidden()

    - #### Command getTarget()

    - #### @OverrideOverride String getUsage()