Skip to content

Commit 88efeae

Browse files
committed
docs: add plugin-tee
1 parent f743315 commit 88efeae

File tree

2 files changed

+24
-15
lines changed

2 files changed

+24
-15
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ pluginlab\
8282
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_echo.wasm\
8383
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_weather.wasm\
8484
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_cat.wasm\
85+
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_tee.wasm\
8586
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin-echo-c.wasm\
8687
--allow-all
8788
```
@@ -106,6 +107,7 @@ pluginlab\
106107
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_echo.wasm\
107108
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_weather.wasm\
108109
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_cat.wasm\
110+
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_tee.wasm\
109111
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin-echo-c.wasm\
110112
--allow-all
111113
[Host] Starting REPL host...
@@ -115,6 +117,8 @@ pluginlab\
115117
[Host] Loading plugin: https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_echo.wasm
116118
[Host] Loading plugin: https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_weather.wasm
117119
[Host] Loading plugin: https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_cat.wasm
120+
[Host] Loading plugin: https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_tee.wasm
121+
[Host] Loading plugin: https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin-echo-c.wasm
118122
repl(0)> echo foo
119123
foo
120124
repl(0)> echo $ROOT/$USER
@@ -220,6 +224,7 @@ This will (see [justfile](./justfile)):
220224
--plugins ./target/wasm32-wasip1/debug/plugin_echo.wasm\
221225
--plugins ./target/wasm32-wasip1/debug/plugin_weather.wasm\
222226
--plugins ./target/wasm32-wasip1/debug/plugin_cat.wasm\
227+
--plugins ./target/wasm32-wasip1/debug/plugin_tee.wasm\
223228
--plugins ./c_modules/plugin-echo/plugin-echo-c.wasm\
224229
--allow-all
225230
```
@@ -378,13 +383,14 @@ When a git tag is pushed, a pre-release is prepared on github, linked to the tag
378383

379384
```sh
380385
pluginlab\
381-
--repl-logic https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/repl_logic_guest.wasm\
382-
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_greet.wasm\
383-
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_ls.wasm\
384-
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_echo.wasm\
385-
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_weather.wasm\
386-
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_cat.wasm\
387-
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin-echo-c.wasm\
386+
--repl-logic https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/repl_logic_guest.wasm\
387+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_greet.wasm\
388+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_ls.wasm\
389+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_echo.wasm\
390+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_weather.wasm\
391+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_cat.wasm\
392+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_tee.wasm\
393+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin-echo-c.wasm\
388394
--allow-all
389395
```
390396

crates/pluginlab/README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ pluginlab\
6161
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_echo.wasm\
6262
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_weather.wasm\
6363
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_cat.wasm\
64+
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_tee.wasm\
6465
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin-echo-c.wasm\
6566
--allow-all
6667
```
@@ -85,6 +86,7 @@ pluginlab\
8586
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_echo.wasm\
8687
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_weather.wasm\
8788
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_cat.wasm\
89+
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin_tee.wasm\
8890
--plugins https://topheman.github.io/webassembly-component-model-experiments/plugins/plugin-echo-c.wasm\
8991
--allow-all
9092
[Host] Starting REPL host...
@@ -133,13 +135,14 @@ The plugins are also versioned in [github releases](https://github.com/topheman/
133135
<summary>Example of running the CLI host with old versions of the plugins (if you have an old version of <code>pluginlab</code></summary>
134136
<pre>
135137
pluginlab\
136-
--repl-logic https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/repl_logic_guest.wasm\
137-
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_greet.wasm\
138-
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_ls.wasm\
139-
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_echo.wasm\
140-
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_weather.wasm\
141-
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_cat.wasm\
142-
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin-echo-c.wasm\
138+
--repl-logic https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/repl_logic_guest.wasm\
139+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_greet.wasm\
140+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_ls.wasm\
141+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_echo.wasm\
142+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_weather.wasm\
143+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_cat.wasm\
144+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_tee.wasm\
145+
--plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin-echo-c.wasm\
143146
--allow-all
144147
</pre>
145148
</summary>
@@ -163,7 +166,7 @@ pluginlab\
163166
[Host] You are most likely trying to use a plugin not compatible with pluginlab@0.4.1
164167
[Host]
165168
[Host] Try using a compatible version of the plugin by passing the following flag:
166-
[Host] --plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.4.1/plugin_echo.wasm
169+
[Host] --plugins https://github.com/topheman/webassembly-component-model-experiments/releases/download/pluginlab@0.5.0/plugin_echo.wasm
167170
[Host]
168171
[Host] If it doesn't work, make sure to use the latest version of pluginlab: `cargo install pluginlab`
169172
[Host]

0 commit comments

Comments
 (0)