mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
added some search-terms to the platform
category (#7021)
* added some search-terms to the `platform` category * removed the redundant `sleep` search-term * removed the redundant `gradients` search-term
This commit is contained in:
parent
9a1cedfd08
commit
8a812cf03c
@ -307,6 +307,10 @@ Format: #
|
||||
]
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["text-color", "text-style", "colors"]
|
||||
}
|
||||
|
||||
fn run(
|
||||
&self,
|
||||
engine_state: &nu_protocol::engine::EngineState,
|
||||
|
@ -43,6 +43,10 @@ impl Command for Kill {
|
||||
)
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["stop", "end", "close"]
|
||||
}
|
||||
|
||||
fn run(
|
||||
&self,
|
||||
engine_state: &EngineState,
|
||||
|
@ -31,6 +31,10 @@ impl Command for Sleep {
|
||||
.category(Category::Platform)
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["delay", "wait", "timer"]
|
||||
}
|
||||
|
||||
fn run(
|
||||
&self,
|
||||
engine_state: &EngineState,
|
||||
|
Loading…
Reference in New Issue
Block a user