github.com/wasilibs/wazerox@v0.0.0-20240124024944-4923be63ab5f/examples/cli/README.md (about)

     1  ## CLI example
     2  
     3  This example shows a simple CLI application compiled to WebAssembly and
     4  executed with the wazero CLI.
     5  
     6  ```bash
     7  $ go run github.com/tetratelabs/wazero/cmd/wazero run testdata/cli.wasm 3 4
     8  ```
     9  
    10  The wazero CLI can run stand-alone Wasm binaries, providing access to any
    11  arguments passed after the path. The Wasm binary reads arguments and otherwise
    12  operates on the host via WASI functions.