# Class: CommandRegistration

## vertx-shell-js/command_registration~ CommandRegistration

#### new CommandRegistration()

  Source:
    - command_registration.js, line 32

### Methods

#### command() → {Command}

  Source:
    - command_registration.js, line 44

  ##### Returns:

  - the registered command.
  - Type
      Command

#### complete(completion)

  Complete the command for the given completion.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `completion` | Completion | the completion

  Source:
    - command_registration.js, line 57

#### createProcess(args) → {Process}

  Create a new process with the passed arguments.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `args` | Array.<CliToken> | the process arguments

  Source:
    - command_registration.js, line 71

  ##### Returns:

  the process
  Type
    Process