You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contributor-book/plugins.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -467,6 +467,8 @@ Example:
467
467
Nushell rocks!
468
468
```
469
469
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
+
470
472
## Evaluating closures
471
473
472
474
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