aegis-wasm-cli

Crates.ioaegis-wasm-cli
lib.rsaegis-wasm-cli
version0.1.1
created_at2026-01-11 18:27:33.061691+00
updated_at2026-01-11 18:27:33.061691+00
descriptionCommand-line interface for the Aegis WebAssembly sandbox
homepagehttps://github.com/aayushadhikari7/aegis
repositoryhttps://github.com/aayushadhikari7/aegis
max_upload_size
id2036168
size78,946
Aayush Adhikari (aayushadhikari7)

documentation

README

aegis-wasm-cli

Command-line interface for the Aegis WebAssembly sandbox.

Installation

cargo install aegis-wasm-cli

Usage

# Run a WebAssembly module
aegis run module.wasm --function add -- 2 3

# Run with resource limits
aegis run module.wasm --memory-limit 67108864 --fuel-limit 1000000 --timeout 30

# Run with capabilities
aegis run module.wasm --allow-read /data --allow-logging

# Validate a module
aegis validate module.wasm

# Inspect module exports/imports
aegis inspect module.wasm --all

Commands

  • run - Execute a WebAssembly module
  • validate - Validate a WebAssembly module
  • inspect - Inspect module exports, imports, and metadata

Output Formats

  • --format human - Human-readable output (default)
  • --format json - Pretty JSON
  • --format json-compact - Compact JSON

License

MIT OR Apache-2.0

Commit count: 10

cargo fmt