mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 01:24:58 +02:00
Plugin json (#474)
* json encoder * thread to pass messages * description for example
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
use nu_plugin::serve_plugin;
|
||||
use nu_plugin::{serve_plugin, CapnpSerializer};
|
||||
use nu_plugin_gstat::GStat;
|
||||
|
||||
fn main() {
|
||||
serve_plugin(&mut GStat::new())
|
||||
serve_plugin(&mut GStat::new(), CapnpSerializer {})
|
||||
}
|
||||
|
Reference in New Issue
Block a user