# CommandResultFormat

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

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.
