euv-cli 0.3.11

The official CLI tool for the euv UI framework, providing dev/release profiles with run/build modes, hot reload, and wasm-pack integration.
euv-cli-0.3.11 is not a library.

euv-cli

Official Documentation

Api Docs

The official CLI tool for the euv UI framework, providing a development server with hot reload and wasm-pack integration.

Installation

cargo install euv-cli

Usage

The CLI uses the pattern euv-cli <profile> <action> where:

  • Profile: dev (debug assertions, hot-reload) or release (optimized build)
  • Action: run (build + start server) or build (build only)

Dev Profile

Build with debug assertions and hot-reload support.

# Build and start dev server with hot-reload
euv-cli dev run

# Build and start dev server with custom crate path and port
euv-cli dev run --crate-path ./example --port 3000

# Build only, do not start the server
euv-cli dev build

# Build only with custom crate path
euv-cli dev build --crate-path ./example

Release Profile

Build with optimizations for production.

# Build and start server
euv-cli release run

# Build and start server with custom crate path and port
euv-cli release run --crate-path ./example --port 3000

# Build only
euv-cli release build

# Build only with custom crate path
euv-cli release build --crate-path ./example

Via Cargo

cargo run -p euv-cli -- dev run --crate-path ./example --port 3000
cargo run -p euv-cli -- release build --crate-path ./example

Options

Option Short Default Description
--crate-path -c . Path to the Rust crate containing the WASM application
--www-dir -w www Directory to serve static files from
--port -p 3000 Port for the development server
--out-dir -o www/pkg Output directory for wasm-pack (relative to crate_path)

License

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

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Contact

For any inquiries, please reach out to the author at root@ltpp.vip.