euv-cli 0.50.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: pure-Rust 38-target parallel build & packaging pipeline (Desktop, Mobile, iOS/iPadOS Simulators, Web zero-JS & --raw-wasm + --theme-variants, HarmonyOS App & harmony-pc & harmony-atomic, 9-ecosystem Wearables incl. vivo-watch/blueos, oppo-watch, garmin, zeppos, 13 mainstream MiniApps, QuickApp Alliance & Huawei, TUI/CLI) with dynamic Cargo.toml version resolution, euv.toml project config, native PNG/ICO/ICNS icon generation, pure-Rust .tar.gz/.zip archiving, deterministic euv-release.json SHA-256 verification, embedded Hyperlane HTTP + SSE dynamic update lifecycle (euv update init|keygen|build|dev|serve|stage|publish|push|watch|verify|diff|gc|rollback|status), unified v1 OTA live hot-reload euv dev with zero-flicker build-before-swap, multi-locale WASM & static euv docs, 25-tool euv doctor --fix, euv targets, euv clean, euv completions, euv inspect, modern keyless euv new, and deterministic euv fmt layered on crate-cli.

Responsibilities & Module Layout

  • builder (archive, icon, web, desktop, android, apple, ecosystem, pipeline) — Zero-Python, pure-Rust multi-platform build, native packaging, icon encoding, .tar.gz/.zip archiving, release manifest verification, AI-schema stripping gates, and bounded --parallel / --skip-unavailable orchestration
  • config & platform — Zero-dependency euv.toml manifest parser, dynamic Cargo.toml/Cargo.lock metadata resolver, 38-target HostCapabilityProbe readiness matrix, and target group expansion (desktop, mobile, apple, terminal, harmony-all, wearables, miniapps, quickapps, all)
  • hot & update_server — Unified v1 OTA + SSE hot-reload dev server (--hot-ota, --watch-ota, --coop-coep, build-before-swap, error overlay, LAN URLs) and Hyperlane HTTP + SSE update lifecycle (init, keygen, build, dev, serve, stage, publish, push, watch, verify, diff, gc, rollback, status, /healthz, If-None-Match 304)
  • dx (output, scaffold, doctor, clean, completions, inspect) — Aligned TerminalTable output, live TTY streaming, keyless style!/view! templates (app, web, dynamic-widget, docs), 25-tool doctor with --fix, cache cleaner, 4-shell tab completions, and live DevAutomationBridge / dist/ manifest auditing
  • fmt — Layered formatter invoking crate_cli::execute_unified_fmt (.md, .yml/.yaml, .json, .toml, derives, cargo fmt with --manifest-path) followed by euv macro indentation normalization

Installation & Usage

cargo install euv-cli
euv doctor --targets
euv targets
euv build --target all --skip-unavailable --parallel
euv build --target web --release --verify
euv dev --target web --hot-ota
euv completions zsh
euv fmt --check

Verification

cargo run --profile cli-fast -p euv-cli -- fmt --check
cargo clippy -p euv-cli --no-default-features --all-targets -- -D warnings
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.