Nushell plugin for interacting with D-Bus
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

make compatible with plugin trait changes

+6 -4
+6 -4
src/main.rs
··· 1 - use nu_plugin::{serve_plugin, EvaluatedCall, LabeledError, MsgPackSerializer, Plugin}; 1 + use nu_plugin::{ 2 + serve_plugin, EngineInterface, EvaluatedCall, LabeledError, MsgPackSerializer, Plugin, 3 + }; 2 4 use nu_protocol::{PluginExample, PluginSignature, Span, SyntaxShape, Type, Value}; 3 5 4 6 mod client; ··· 14 16 use crate::pattern::Pattern; 15 17 16 18 fn main() { 17 - serve_plugin(&mut NuPluginDbus, MsgPackSerializer) 19 + serve_plugin(&NuPluginDbus, MsgPackSerializer) 18 20 } 19 21 20 22 /// The main plugin interface for nushell ··· 236 238 } 237 239 238 240 fn run( 239 - &mut self, 241 + &self, 240 242 name: &str, 241 - _config: &Option<Value>, 243 + _engine: &EngineInterface, 242 244 call: &EvaluatedCall, 243 245 _input: &Value, 244 246 ) -> Result<Value, LabeledError> {