# CLIExit

Exits the CLI with the specified exit code.

## Method Signature

```
CLIExit(exitCode=[numeric])
```

### Arguments

| Argument   | Type      | Required | Description                                                                             | Default |
| ---------- | --------- | -------- | --------------------------------------------------------------------------------------- | ------- |
| `exitCode` | `numeric` | `false`  | By convention, a nonzero status code, indicates abnormal termination. Deault code is 0. | `0`     |

## Examples

## Related

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