to html --list now returns a table (#7080)

* `to html --list` now returns a table

* Re-add screenshots link
This commit is contained in:
Leon
2022-11-16 03:12:56 +10:00
committed by GitHub
parent a783a084d4
commit f856e64fb3
5 changed files with 156 additions and 18 deletions

View File

@ -86,6 +86,15 @@ impl Command for Metadata {
span: head,
})
}
PipelineMetadata {
data_source: DataSource::HtmlThemes,
} => {
cols.push("source".into());
vals.push(Value::String {
val: "into html --list".into(),
span: head,
})
}
}
}
@ -148,6 +157,15 @@ fn build_metadata_record(arg: &Value, metadata: &Option<PipelineMetadata>, head:
span: head,
})
}
PipelineMetadata {
data_source: DataSource::HtmlThemes,
} => {
cols.push("source".into());
vals.push(Value::String {
val: "into html --list".into(),
span: head,
})
}
}
}