mirror of
https://github.com/nushell/nushell.git
synced 2025-02-16 18:41:44 +01:00
Add search terms for uppercase (#6720)
* Add search terms for uppercase * Add search terms * Add search terms * Change to parse * Add search terms for from * Add search terms for to * Remove duplicate function * Remove duplication of search terms * Remove search term
This commit is contained in:
parent
9446e3960b
commit
804b155035
@ -19,6 +19,10 @@ impl Command for ToUpperCase {
|
||||
"Uppercase the strings in the column"
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["capitalize, caps, capital"]
|
||||
}
|
||||
|
||||
fn signature(&self) -> Signature {
|
||||
Signature::build(self.name())
|
||||
.input_type(Type::Custom("dataframe".into()))
|
||||
|
@ -66,10 +66,6 @@ impl Command for ToText {
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["convert"]
|
||||
}
|
||||
}
|
||||
|
||||
fn local_into_string(value: Value, separator: &str, config: &Config) -> String {
|
||||
|
Loading…
Reference in New Issue
Block a user