mirror of
https://github.com/nushell/nushell.git
synced 2025-04-22 04:08:20 +02:00
Add search terms to build-string command. (#5557)
This commit is contained in:
parent
24a49f1b0a
commit
a22d70718f
@ -18,6 +18,10 @@ impl Command for BuildString {
|
|||||||
"Create a string from the arguments."
|
"Create a string from the arguments."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn search_terms(&self) -> Vec<&str> {
|
||||||
|
vec!["concatenate", "join"]
|
||||||
|
}
|
||||||
|
|
||||||
fn signature(&self) -> nu_protocol::Signature {
|
fn signature(&self) -> nu_protocol::Signature {
|
||||||
Signature::build("build-string")
|
Signature::build("build-string")
|
||||||
.rest("rest", SyntaxShape::String, "list of string")
|
.rest("rest", SyntaxShape::String, "list of string")
|
||||||
|
Loading…
Reference in New Issue
Block a user