Summary
Currently there are two CLI binaries:
It would be nice to consolidate into a single eryx CLI (Rust binary) with subcommands, e.g.:
eryx run script.py # execute a script
eryx repl # interactive REPL
eryx setup # download + pre-compile runtime (from #99)
eryx precompile # advanced: precompile from local wasm
Considerations
- The Rust CLI could replace the Python
__main__.py entry point
- Would need feature parity with the Python CLI (REPL, streaming output, volumes, callbacks, etc.)
- cargo-dist would build this single binary instead of
eryx-precompile
cargo binstall eryx would give users both the library and the CLI tool
Summary
Currently there are two CLI binaries:
eryx-precompile— pre-compiles WASM runtimes, will gain asetupcommand (Adderyx-precompile setupcommand for crates.io users #99)eryxCLI (__main__.py) — REPL, script execution, etc.It would be nice to consolidate into a single
eryxCLI (Rust binary) with subcommands, e.g.:Considerations
__main__.pyentry pointeryx-precompilecargo binstall eryxwould give users both the library and the CLI tool