mirror of
https://github.com/nushell/nushell
synced 2024-11-10 23:24:14 +00:00
Add search terms for describe
(#5644)
This commit is contained in:
parent
727ff5f2d4
commit
3b8deb9ec7
1 changed files with 5 additions and 1 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue