---
# euv-docs site configuration (consumed by `euv-docs` build.rs).
# This frontmatter is the SINGLE source of truth for site-wide
# settings — replaces the legacy `docs/config.toml`.
site:
title: Euv-docs
description: A VuePress-style documentation site powered by euv + euv-ui.
logo: '📘'
locales:
- prefix: /
lang: en-US
label: English
title: Euv-docs
description: A VuePress-style documentation site powered by euv + euv-ui.
footer: MIT Licensed | Built with euv + euv-ui
toc_label: On this page
prev_label: Previous
next_label: Next
navbar:
- { text: Home, link: / }
- { text: Guide, link: /guide/ }
- { text: GitHub, link: https://github.com/euv-dev/euv }
- prefix: /zh/
lang: zh-CN
label: 简体中文
title: Euv-docs
description: 由 euv + euv-ui 驱动的 VuePress 风格文档站。
footer: MIT 许可 | 基于 euv + euv-ui 构建
toc_label: 本页目录
prev_label: 上一页
next_label: 下一页
navbar:
- { text: 首页, link: /zh/ }
- { text: 指南, link: /zh/guide/ }
- { text: GitHub, link: https://github.com/euv-dev/euv }
---
<div align="center">
# Euv-cli
<img src="https://devhub.vip/pages/docs/img/euv.png" alt="Euv-cli logo" height="160">
**Multi-Platform Build CLI, Hyperlane OTA Update Server & Layered Formatter**
[](https://crates.io/crates/euv-cli)
[](https://crates.io/crates/euv-cli)
[](https://docs.rs/euv-cli)
[](https://github.com/euv-dev/euv/actions)
[](https://www.rust-lang.org)
[](../LICENSE)
[Workspace Overview](../README.md) · [API Docs](https://docs.rs/euv-cli/latest/) · [Agent Engineering Rules](../AGENTS.md)
</div>
---
## Overview
Official CLI for the `euv` native Rust UI framework: 27-target build orchestration (Desktop, Mobile, Web, HarmonyOS, 9-ecosystem Wearables incl. `vivo-watch`/`blueos`, `oppo-watch`, `garmin`, `zeppos`, MiniApps, QuickApps, TUI/CLI), embedded Hyperlane HTTP + SSE dynamic update server (`euv update serve|stage|publish|rollback|status`), live SSE hot-reload dev server, zero-JS WebAssembly & static docs bundling, project scaffolding, toolchain doctor, and deterministic `euv fmt` (running `crate-cli` Prettier-aligned multi-format formatting first, then normalizing `view!`/`style!`/`var!`/`watch!`/`computed!`/`on!`/`emit!`/`state!` macro blocks and workspace `cargo fmt`).
## Responsibilities & Module Layout
- `fmt` — Layered formatter invoking `crate_cli::execute_unified_fmt` (`.md`, `.yml`/`.yaml`, `.json`, `.toml`, derives, `cargo fmt`) followed by `euv` macro indentation normalization
- `update_server` — Embedded Hyperlane HTTP + SSE dynamic update server (default feature `update-server`; opt out via `--no-default-features`) serving manifest negotiation, HTTP `Range` content-addressed blobs, and `Last-Event-ID` SSE replay
- `build` / `dev` / `docs` — 27-target platform orchestration (`harmony`, `wearos`, `watchos`, `harmony-wearable`, `vela`, `vivo-watch`/`blueos`/`vivo`, `oppo-watch`/`oppo`, `garmin`, `zeppos`/`amazfit`, `wearable`, `wechat`, `alipay`, `douyin`, `quickapp`, `tui`, `cli`, etc.), live SSE hot-reload server, and zero-JS static documentation bundling
- `doctor` / `new` — Cross-platform toolchain verification and project scaffolding
## Installation & Usage
```sh
cargo install euv-cli
euv doctor
euv fmt --check
```
## Verification
```sh
cargo run -p euv-cli -- fmt --check
cargo clippy -p euv-cli --all-features --all-targets -- -D warnings
cargo test -p euv-cli --all-features
```
## Documentation & Governance
- Update this `README.md` alongside any public API, macro, component, CLI, or module-boundary change per [`../AGENTS.md`](../AGENTS.md#4-unified-documentation--skill-maintenance-policy).
- Project standards and workflows live in [`../.agents/skills/euv/SKILL.md`](../.agents/skills/euv/SKILL.md).
## License
This project is licensed under the MIT License. See the [LICENSE](../LICENSE) file for details.
## Contact
For inquiries, please contact the author at [root@devhub.vip](mailto:root@devhub.vip).