# CommandResultData

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents a value produced by a command.

## Definition

```go
type CommandResultData struct {
    Value              string               `json:"Value"`
    Format             *CommandResultFormat `json:"Format"`
    DisplayImmediately *bool                `json:"DisplayImmediately"`
}
```

## Fields

- `Value`: `string` -- The value data.
- `Format`: [`*CommandResultFormat`](/reference/api/go/aspire.hosting/commandresultformat.md) `optional` -- The format of the `Value` data.
- `DisplayImmediately`: `*bool` `optional` -- When `true`, the dashboard will immediately display the value in a dialog when the command completes.
