If the plugin is a filter, data streams to it one element at a time, and it can stream data back in return via stdin/stdout. These binaries interact with nu via a simple JSON-RPC protocol where the command identifies itself and passes along its configuration, making it available for use. Plugins are binaries that are available in your path and follow a nu_plugin_* naming convention. There are a few examples in the crates/nu_plugins_* directories. Nu supports plugins that offer additional functionality to the shell and follow the same structured data model that built-in commands use.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |