forked from extern/nushell
feat: add search terms to category of strings (#5723)
This commit is contained in:
@ -20,6 +20,10 @@ impl Command for SubCommand {
|
||||
"Split a string's characters into separate rows"
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["character", "separate", "divide"]
|
||||
}
|
||||
|
||||
fn examples(&self) -> Vec<Example> {
|
||||
vec![Example {
|
||||
description: "Split the string's characters into separate rows",
|
||||
|
@ -33,6 +33,10 @@ impl Command for SubCommand {
|
||||
"Split a string into multiple columns using a separator"
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["column", "separate", "divide"]
|
||||
}
|
||||
|
||||
fn run(
|
||||
&self,
|
||||
engine_state: &EngineState,
|
||||
|
@ -33,6 +33,10 @@ impl Command for SubCommand {
|
||||
"Split a string into multiple rows using a separator"
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["row", "separate", "divide"]
|
||||
}
|
||||
|
||||
fn run(
|
||||
&self,
|
||||
engine_state: &EngineState,
|
||||
|
Reference in New Issue
Block a user