Add search terms to many commands (#5096)

This commit is contained in:
Reilly Wood
2022-04-05 05:01:21 -07:00
committed by GitHub
parent fa6ed7a40b
commit 657b631fdc
17 changed files with 62 additions and 2 deletions

View File

@ -19,6 +19,10 @@ impl Command for Input {
"Get input from the user."
}
fn search_terms(&self) -> Vec<&str> {
vec!["prompt", "interactive"]
}
fn signature(&self) -> Signature {
Signature::build("input")
.optional("prompt", SyntaxShape::String, "prompt to show the user")