---
title: "QuartzUIContractCommandlet: declaration reference"
description: "Quartz UI 0.57.0-dev: QuartzUIContractCommandlet: declaration reference. Source-reviewed guidance, usage and limitations."
status: approved
visibility: public
sourceRevision: fe5b709ec900e282b50e58b819a25041945005f9
reviewedAt: 2026-09-24
---

# QuartzUIContractCommandlet: declaration reference

> **0.57.0-dev · beta source documentation.** Native, Blueprint, Editor and rendering examples are source-reviewed, not executed in Unreal during this scan. See [validation and limits](https://betterbuilt.games/docs/quartz-ui/evidence).

Pinned source (source: `Source/QuartzUIEditor/Public/QuartzUIContractCommandlet.h`) · [integration recipe](https://betterbuilt.games/docs/quartz-ui/inventory#quartzuicontractcommandlet) · [practical guide](https://betterbuilt.games/docs/quartz-ui/tools-shipping)

## UQuartzUIContractCommandlet

**Editor type.** Headless generator/checker used by CI and frontend-maintainer scripts.

**Prerequisites / integration:** Installed source plugin; Editor tools additionally require a compiled compatible host Editor target. Use the [QuartzUIContractCommandlet recipe](https://betterbuilt.games/docs/quartz-ui/inventory#quartzuicontractcommandlet) in the host module `QuartzUIEditor`.

**Minimal example / lifecycle:** UnrealEditor-Cmd Host.uproject -run=QuartzUIContract -App=gameui -Output=path.ts. One commandlet invocation; needs compiled host.

**Avoid:** Assuming generation also rebuilds frontend or recooks assets. Match the exact declaration below; dependent DTOs/enums are values used by this owner, not independent systems.

Exact source line (source: `Source/QuartzUIEditor/Public/QuartzUIContractCommandlet.h#L9`)

## Complete header

Source snapshot, not an additional example. Unreal annotations distinguish exposed Blueprint nodes from native-only/private methods.

```cpp
#pragma once

#include "Commandlets/Commandlet.h"

#include "QuartzUIContractCommandlet.generated.h"

/** Headless generator/checker used by CI and frontend-maintainer scripts. */
UCLASS()
class QUARTZUIEDITOR_API UQuartzUIContractCommandlet final : public UCommandlet
{
	GENERATED_BODY()

public:
	UQuartzUIContractCommandlet();
	virtual int32 Main(const FString& Params) override;
};
```

Canonical HTML: https://betterbuilt.games/docs/quartz-ui/reference-quartzuicontractcommandlet
