---
title: "Class ReportCommand"
slug: "cli--sitecore.ch.cli.plugin.jobs.commands.reportcommand"
abstract: ""
---
# Class ReportCommand

Gets the report for a job.

## Inheritance

object

System.CommandLine.Symbol

System.CommandLine.IdentifierSymbol

[Command](https://learn.microsoft.com/dotnet/api/system.commandline.command)

Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand

Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<THandler>Sitecore.CH.Cli.Plugin.Jobs.CommandHandlers.ReportCommandHandler

ReportCommand

## Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.JobsCommands

## Assembly: Sitecore.CH.Cli.Plugin.Jobs.dll

## Syntax

```csharp
public class ReportCommand : BaseCommand<ReportCommandHandler>
```

## Remarks

**Required parameters**

- `--id` Specifies the job id

**Optional parameters**

- `--endpoint -e` Specifies an alternative endpoint name for the execution of this command.

**Global parameters**

- `-? --help -h` Show this help message and exit.
- `-v --verbosity` Enables verbose logging.

## Examples

```csharp
ch-cli jobs report --id "<job id>"
```
