mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 02:13:47 +01:00
feat: add search terms to random & typo fix (#5652)
Co-authored-by: chinsaw <chinsaw@example.com>
This commit is contained in:
parent
507f24d029
commit
d4bfbb5eaf
@ -18,7 +18,11 @@ impl Command for RandomCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn usage(&self) -> &str {
|
fn usage(&self) -> &str {
|
||||||
"Generate a random values."
|
"Generate a random value."
|
||||||
|
}
|
||||||
|
|
||||||
|
fn search_terms(&self) -> Vec<&str> {
|
||||||
|
vec!["generate", "generator"]
|
||||||
}
|
}
|
||||||
|
|
||||||
fn run(
|
fn run(
|
||||||
|
Loading…
Reference in New Issue
Block a user