# CLIRead

Reads a line of text from the CLI.

You can optionally provide a prompt string to display before reading the input.

## Method Signature

```
CLIRead(prompt=[string])
```

### Arguments

| Argument | Type     | Required | Description                                                | Default |
| -------- | -------- | -------- | ---------------------------------------------------------- | ------- |
| `prompt` | `string` | `false`  | An optional prompt string to display before reading input. |         |

## Examples

## Related

* [CLIClear](https://boxlang.ortusbooks.com/boxlang-language/reference/built-in-functions/cli/cliclear)
* [CLIExit](https://boxlang.ortusbooks.com/boxlang-language/reference/built-in-functions/cli/cliexit)
* [CLIGetArgs](https://boxlang.ortusbooks.com/boxlang-language/reference/built-in-functions/cli/cligetargs)
