Skip to content

Commit c1d600a

Browse files
authored
Add Nushell example plugin reference to Plugins (#1912)
* Add Nushell example plugin reference to Plugins * Update example plugin URL
1 parent 07b6041 commit c1d600a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contributor-book/plugins.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,8 @@ Example:
482482
Nushell rocks!
483483
```
484484

485+
For a full example, see [`nu_plugin_example`](https://github.com/nushell/plugin-examples/tree/main/rust/nu_plugin_example).
486+
485487
## Evaluating closures
486488

487489
Plugins can accept and evaluate closures using [`EngineInterface::eval_closure`](https://docs.rs/nu-plugin/latest/nu_plugin/struct.EngineInterface.html#method.eval_closure) or [`eval_closure_with_stream`](https://docs.rs/nu-plugin/latest/nu_plugin/struct.EngineInterface.html#method.eval_closure_with_stream).

0 commit comments

Comments
 (0)