Add search terms for describe (#5644)

This commit is contained in:
Stefan Holderbach 2022-05-26 15:11:45 +02:00 committed by GitHub
parent 727ff5f2d4
commit 3b8deb9ec7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ impl Command for Describe {
}
fn usage(&self) -> &str {
"Describe the value(s) piped in."
"Describe the type and structure of the value(s) piped in."
}
fn signature(&self) -> Signature {
@ -55,6 +55,10 @@ impl Command for Describe {
result: Some(Value::test_string("string")),
}]
}
fn search_terms(&self) -> Vec<&str> {
vec!["type", "typeof", "info", "structure"]
}
}
#[cfg(test)]