diff --git a/crates/nu_plugin_polars/src/dataframe/stub.rs b/crates/nu_plugin_polars/src/dataframe/stub.rs index 7b50d23e4e..160069f04c 100644 --- a/crates/nu_plugin_polars/src/dataframe/stub.rs +++ b/crates/nu_plugin_polars/src/dataframe/stub.rs @@ -30,22 +30,13 @@ impl PluginCommand for PolarsCmd { fn run( &self, _plugin: &Self::Plugin, - _engine: &EngineInterface, + engine: &EngineInterface, call: &EvaluatedCall, _input: PipelineData, ) -> Result { - // todo - find a replacmeent for get_full_help - // Ok(Value::string( - // get_full_help( - // &PolarsCmd.signature(), - // &PolarsCmd.examples(), - // engine_state, - // stack, - // self.is_parser_keyword(), - // ), - // call.head, - // ) - // .into_pipeline_data()) - Ok(PipelineData::Value(Value::nothing(call.head), None)) + Ok(PipelineData::Value( + Value::string(engine.get_help()?, call.head), + None, + )) } }