# ResourceCommandState

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

The state of a resource command.

## Definition

```go
type ResourceCommandState string

const (
    ResourceCommandStateEnabled  ResourceCommandState = "Enabled"
    ResourceCommandStateDisabled ResourceCommandState = "Disabled"
    ResourceCommandStateHidden   ResourceCommandState = "Hidden"
)
```

## Values

- `ResourceCommandStateEnabled` = `"Enabled"` -- Command is visible and enabled for use.
- `ResourceCommandStateDisabled` = `"Disabled"` -- Command is visible and disabled for use.
- `ResourceCommandStateHidden` = `"Hidden"` -- Command is hidden.
