# ReportGen CLI

The **ReportGen Command Line Interface (CLI)** tool is ideal for people who prefer to build pentest reports on the command line; and combine ReportGen into an existing automation or pipeline.&#x20;

You can create automations combining ReportGen CLI with Self-Service API Events.

For example, you can create *real-time automated PDF reports* and have them securely emailed to your customers, posted to a Slack/Teams channel, or uploaded to a ticket.

For more information on how to do this, check out our [Blog](https://blog.attackforge.com/blog/reportgencli).

You can download ReportGen CLI and NodeJS library directly from [NPM](https://www.npmjs.com/search?q=attackforge).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.attackforge.com/attackforge-enterprise/modules/reporting/reportgen-cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
