Add search terms to build-string command. (#5557)

This commit is contained in:
victormanueltn
2022-05-16 21:21:01 +02:00
committed by GitHub
parent 24a49f1b0a
commit a22d70718f

View File

@ -18,6 +18,10 @@ impl Command for BuildString {
"Create a string from the arguments."
}
fn search_terms(&self) -> Vec<&str> {
vec!["concatenate", "join"]
}
fn signature(&self) -> nu_protocol::Signature {
Signature::build("build-string")
.rest("rest", SyntaxShape::String, "list of string")