mirror of
https://github.com/nushell/nushell.git
synced 2025-02-02 11:39:55 +01:00
Add search terms for describe
(#5644)
This commit is contained in:
parent
727ff5f2d4
commit
3b8deb9ec7
@ -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 New Issue
Block a user