# CommandResultFormat

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

Specifies the format of a command result.

## Definition

```go
type CommandResultFormat string

const (
    CommandResultFormatText     CommandResultFormat = "Text"
    CommandResultFormatJson     CommandResultFormat = "Json"
    CommandResultFormatMarkdown CommandResultFormat = "Markdown"
)
```

## Values

- `CommandResultFormatText` = `"Text"` -- Plain text result.
- `CommandResultFormatJson` = `"Json"` -- JSON result.
- `CommandResultFormatMarkdown` = `"Markdown"` -- Markdown result.
