Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

CommandResultData

Struct
📦 Aspire.Hosting v17.0.0

Represents a value produced by a command.

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

Fields

Valuestring
The value data.
Format*CommandResultFormatoptional
The format of the Value data.
DisplayImmediately*booloptional
When true, the dashboard will immediately display the value in a dialog when the command completes.