Add search term to str substring command. (#5603)

This commit is contained in:
victormanueltn 2022-05-21 10:40:37 +02:00 committed by GitHub
parent e9d8b19d4d
commit 1f8ccd8e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,