Marine REPL
mrepl is a command line tool to locally run a Marine instance to inspect, run, and test Wasm modules and service configurations. We can run the Repl either with mrepl or marine repl
1
mbp16~(:|✔) % mrepl
2
Welcome to the Marine REPL (version 0.7.2)
3
Minimal supported versions
4
sdk: 0.6.0
5
interface-types: 0.20.0
6
7
New version is available! 0.7.2 -> 0.7.4
8
To update run: cargo +nightly install mrepl --force
9
10
app service was created with service id = d81a4de5-55c3-4cb7-935c-3d5c6851320d
11
elapsed time 486.234µs
12
13
1> help
14
Commands:
15
16
n/new [config_path] create a new service (current will be removed)
17
l/load <module_name> <module_path> load a new Wasm module
18
u/unload <module_name> unload a Wasm module
19
c/call <module_name> <func_name> [args] call function with given name from given module
20
i/interface print public interface of all loaded modules
21
e/envs <module_name> print environment variables of a module
22
f/fs <module_name> print filesystem state of a module
23
h/help print this message
24
q/quit/Ctrl-C exit
25
26
2>
Copied!
Last modified 7mo ago
Copy link