# Module: vertx-shell-js/command_builder

### Classes

CommandBuilder

### Methods

#### (static) CommandBuilder.command(cli) → {CommandBuilder}

Create a new commmand with its CLI descriptor. This command can then retrieve the parsed CommandProcess#commandLine when it executes to know get the command arguments and options.

##### Parameters:

Name | Type | Description
--- | --- | ---
`cli` | CLI | the cli to use

Source:
  - vertx-shell-js/command_builder.js, line 102

##### Returns:

the command

Type
  CommandBuilder