mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00: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
3 changed files with 12 additions and 0 deletions
|
@ -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 a new issue