---
title: "Class StatusCommand"
slug: "cli--sitecore.ch.cli.plugin.jobs.commands.statuscommand"
abstract: ""
---
# Class StatusCommand

Gets condition 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.StatusCommandHandler

StatusCommand

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

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

## Syntax

```csharp
public class StatusCommand : BaseCommand<StatusCommandHandler>
```

## 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 status --id "<job id>"
```
