Highlight help tutor (#838)

* WIP

* Syntax highlight help, add tutor
This commit is contained in:
JT
2022-01-24 10:05:19 -05:00
committed by GitHub
parent 525ed7653f
commit 3d0b1ef1ce
20 changed files with 640 additions and 34 deletions

View File

@ -24,12 +24,12 @@ impl Command for Url {
fn run(
&self,
engine_state: &EngineState,
_stack: &mut Stack,
stack: &mut Stack,
call: &Call,
_input: PipelineData,
) -> Result<nu_protocol::PipelineData, nu_protocol::ShellError> {
Ok(Value::String {
val: get_full_help(&Url.signature(), &Url.examples(), engine_state),
val: get_full_help(&Url.signature(), &Url.examples(), engine_state, stack),
span: call.head,
}
.into_pipeline_data())