euv-cli 0.51.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
pub(crate) const TOOL_CAT_RUST: &str = "rust";
pub(crate) const TOOL_CAT_WEB: &str = "web";
pub(crate) const TOOL_CAT_ANDROID: &str = "android";
pub(crate) const TOOL_CAT_APPLE: &str = "apple";
pub(crate) const TOOL_CAT_HARMONY: &str = "harmony";
pub(crate) const TOOL_CAT_DX: &str = "dx";

pub(crate) const REQ_ALL_TARGETS: &str = "all targets";
pub(crate) const REQ_WEB_MINIAPP: &str = "web, miniapps, quickapps";
pub(crate) const REQ_WEB_SIZE_OPT: &str = "web release size optimization";
pub(crate) const REQ_WEB_LEGACY: &str = "wasm-pack fallback";
pub(crate) const REQ_ANDROID_WEAROS: &str = "android, wearos, oppo-watch";
pub(crate) const REQ_ANDROID_INSTALL: &str = "android --install";
pub(crate) const REQ_APPLE_TARGETS: &str = "macos, ios, ios-sim, ipad, ipad-sim, watchos";
pub(crate) const REQ_APPLE_SIM: &str = "ios-sim, ipad-sim";
pub(crate) const REQ_HARMONY_TARGETS: &str =
    "harmony, harmony-pc, harmony-wearable, harmony-atomic";
pub(crate) const REQ_FMT_STANDARDS: &str = "euv fmt / crate fmt";
pub(crate) const REQ_ECOSYSTEM_TOOLS: &str = "miniapp / quickapp packaging";

pub(crate) const HINT_RUSTUP_INSTALL: &str = "https://rustup.rs";
pub(crate) const HINT_WASM_OPT: &str =
    "Install binaryen (brew install binaryen / apt install binaryen)";
pub(crate) const HINT_WASM_PACK: &str = "cargo install wasm-pack";
pub(crate) const HINT_CARGO_NDK: &str = "cargo install cargo-ndk";
pub(crate) const HINT_ANDROID_HOME: &str = "Install Android SDK and export ANDROID_HOME";
pub(crate) const HINT_ADB: &str = "Install Android platform-tools and add to PATH";
pub(crate) const HINT_JDK: &str = "Install JDK 17+ (e.g. Temurin 17)";
pub(crate) const HINT_XCODE_FULL: &str = "Install Xcode from the Mac App Store";
pub(crate) const HINT_HARMONY_TOOLS: &str =
    "Install DevEco Studio / OpenHarmony command-line-tools";
pub(crate) const HINT_CRATE_CLI: &str = "cargo install crate-cli";
pub(crate) const HINT_NODE: &str = "Install Node.js LTS (https://nodejs.org)";

pub(crate) const DOCTOR_HDR_TOOL: &str = "TOOL";
pub(crate) const DOCTOR_HDR_CATEGORY: &str = "CATEGORY";
pub(crate) const DOCTOR_HDR_DETAIL: &str = "DETAIL";
pub(crate) const DOCTOR_HDR_TARGET: &str = "TARGET";
pub(crate) const DOCTOR_HDR_TRIPLE: &str = "RUST TRIPLE";
pub(crate) const DOCTOR_HDR_MISSING: &str = "MISSING / HINT";
pub(crate) const DOCTOR_STATUS_READY: &str = "ready";
pub(crate) const DOCTOR_STATUS_UNSUPPORTED: &str = "host-os";
pub(crate) const DOCTOR_FIX_SECTION_HDR: &str = "\nFix Actions:\n";
pub(crate) const ARG_ADD: &str = "add";