# Function: addGlobalOptions()

> **addGlobalOptions**(`program`, `supportsLang`, `supportsEnvFiles`): `void`

Add the global options.

## Parameters

### program

`Command`

The program to add the options to.

### supportsLang

`boolean`

Whether the CLI supports different languages.

### supportsEnvFiles

`boolean`

Whether the CLI supports loading env files

## Returns

`void`
