Skip to content

Commit 5e1acef

Browse files
committed
Add Nushell example plugin reference to Plugins
1 parent 9944a41 commit 5e1acef

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
@@ -467,6 +467,8 @@ Example:
467467
Nushell rocks!
468468
```
469469

470+
For a full example, see [`nu_plugin_example` in the Nushell source repository](https://github.com/nushell/nushell/tree/main/crates/nu_plugin_example).
471+
470472
## Evaluating closures
471473

472474
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)