feat: add search terms for conversions (#5259)

This commit is contained in:
Jae-Heon Ji
2022-04-21 01:48:32 +09:00
committed by GitHub
parent 09b972f1dc
commit e97ba9b74c
9 changed files with 36 additions and 0 deletions

View File

@ -28,6 +28,10 @@ impl Command for SubCommand {
"Convert value to duration"
}
fn search_terms(&self) -> Vec<&str> {
vec!["convert", "time", "period"]
}
fn run(
&self,
engine_state: &EngineState,