> ISPO SDK documentation. [HTML](https://ispo.ai/docs/types/core.ProjectCommandHandler.html) · [Documentation index](https://ispo.ai/docs/llms.txt)

# Type Alias ProjectCommandHandler<Input, Result>

```typescript
ProjectCommandHandler: (
    input: Input,
    context: ProjectCommandRunContext,
) => Result | Promise<Result>
```

Types: [Input](#input), [ProjectCommandRunContext](../interfaces/core.ProjectCommandRunContext.md), [Result](#result)

#### Type Parameters

*   <a id="input"></a>Input = unknown
*   <a id="result"></a>Result extends [CapabilityResultEnvelope](core.CapabilityResultEnvelope.md) = [CapabilityResultEnvelope](core.CapabilityResultEnvelope.md)

#### Type Declaration

*   *   <a id="__type"></a>
        
        ```typescript
        (input: Input, context: ProjectCommandRunContext): Result | Promise<Result>
        ```
        
        Types: [Input](#input), [ProjectCommandRunContext](../interfaces/core.ProjectCommandRunContext.md), [Result](#result)
        
    *   #### Parameters
        
        *   input: [Input](#input)
        *   context: [ProjectCommandRunContext](../interfaces/core.ProjectCommandRunContext.md)
        
        #### Returns [Result](#result) | Promise<[Result](#result)\>
