# Class: CommandRegistration

## vertx-shell-js/command_registration~ CommandRegistration

#### new CommandRegistration()

Source:
  - vertx-shell-js/command_registration.js, line 29

### Methods

#### command() → {Command}

Source:
  - vertx-shell-js/command_registration.js, line 41

##### Returns:

- the registered command.
- Type
    Command

#### unregister(handler)

Unregister the current command

##### Parameters:

Name | Type | Description
--- | --- | ---
`handler` | function |

Source:
  - vertx-shell-js/command_registration.js, line 54