mirror of
https://github.com/nushell/nushell.git
synced 2025-01-11 16:58:41 +01:00
Add search term to str substring command. (#5603)
This commit is contained in:
parent
e9d8b19d4d
commit
1f8ccd8e5e
@ -48,6 +48,10 @@ impl Command for SubCommand {
|
||||
"Get part of a string"
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["slice"]
|
||||
}
|
||||
|
||||
fn run(
|
||||
&self,
|
||||
engine_state: &EngineState,
|
||||
|
Loading…
Reference in New Issue
Block a user