CLI & Tooling
The Hexa CLI drives project scaffolding, AOT compilation, manifest generation, and live development workflows.
What this section covers
- Command reference for day-to-day workflows.
- How AOT build produces context-safe runtime artifacts.
- How manifest patching merges user manifest safely.
- How HMR behaves per platform and per context.
Recommended path
- Start with CLI Commands to learn command surface.
- Read Build Pipeline to understand AOT and validation.
- Read Manifest Patching to understand what Hexa overrides.
- Read HMR for platform-specific behavior and fallbacks.
- Use API Reference for built-in ports details.
Principles
- One command surface, multiple output contexts.
- Context-aware generation with AOT metadata.
- Safe defaults with explicit override boundaries.
- Change-scoped HMR where platform supports it.