<a id="command-line-interface"></a>

# Command line interface

The `dlpd` package comes with a program called `dlpctl` that
can be used to manage any aspect of the dlpd process. This section is a guide for
that program.

Every command have a `--help` flag to display available options.

The *dlpctl* program communicates with the `dlpd`
processes over the control sockets.
The raw JSON response data can be useful
when using the CLI for scripting with tools like *jq*,
and the request data can be useful when learning about the API.
Therefore, the commands have a `--json` output flag making it return the raw response
and a `--json-request` flag that prints the raw request (JSON encoded).

<a id="cli-config"></a>

<a id="configuration-management"></a>

## Configuration management

These sub-commands can reload the [running configuration](config_dlpd_app.html.md)
See the [configuration](config_dlpd_app.html.md) section for more information.

<a id="cli-reload"></a>

<a id="reloading-configurations"></a>

### Reloading configurations

You can also invoke the individual reload commands directly:

```console
$ dlpctl reload                           # /etc/halon/dlpd-app.yaml
```
