mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 09:53:43 +01:00
Showing full help when running the polars command (#12462)
Displays the full help message for all sub commands. Co-authored-by: Jack Wright <jack.wright@disqo.com>
This commit is contained in:
parent
efc1cfa939
commit
81c61f3243
@ -30,22 +30,13 @@ impl PluginCommand for PolarsCmd {
|
|||||||
fn run(
|
fn run(
|
||||||
&self,
|
&self,
|
||||||
_plugin: &Self::Plugin,
|
_plugin: &Self::Plugin,
|
||||||
_engine: &EngineInterface,
|
engine: &EngineInterface,
|
||||||
call: &EvaluatedCall,
|
call: &EvaluatedCall,
|
||||||
_input: PipelineData,
|
_input: PipelineData,
|
||||||
) -> Result<PipelineData, LabeledError> {
|
) -> Result<PipelineData, LabeledError> {
|
||||||
// todo - find a replacmeent for get_full_help
|
Ok(PipelineData::Value(
|
||||||
// Ok(Value::string(
|
Value::string(engine.get_help()?, call.head),
|
||||||
// get_full_help(
|
None,
|
||||||
// &PolarsCmd.signature(),
|
))
|
||||||
// &PolarsCmd.examples(),
|
|
||||||
// engine_state,
|
|
||||||
// stack,
|
|
||||||
// self.is_parser_keyword(),
|
|
||||||
// ),
|
|
||||||
// call.head,
|
|
||||||
// )
|
|
||||||
// .into_pipeline_data())
|
|
||||||
Ok(PipelineData::Value(Value::nothing(call.head), None))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user