euv-cli 0.47.0

Cross-platform CLI tool for the euv native UI framework supporting run, build, check, fmt, doctor, new, and Hyperlane SSE dynamic updates across all supported platforms.
Documentation

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:
  • 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:

Euv-cli

Multi-Platform Build CLI, Hyperlane OTA Update Server & Layered Formatter

Crates.io Version Crates.io Downloads Docs.rs CI Status Rust 2024 License: MIT

Workspace Overview · API Docs · Agent Engineering Rules


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

cargo install euv-cli
euv doctor
euv fmt --check

Verification

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

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries, please contact the author at root@devhub.vip.