mirror of
https://github.com/nushell/nushell.git
synced 2025-04-16 01:08:21 +02:00
add search terms for is-admin
(#5939)
This commit is contained in:
parent
c6f6dcb57c
commit
3a38fb94f0
@ -19,6 +19,10 @@ impl Command for IsAdmin {
|
|||||||
Signature::build("is-admin").category(Category::Core)
|
Signature::build("is-admin").category(Category::Core)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn search_terms(&self) -> Vec<&str> {
|
||||||
|
vec!["root", "admin", "administrator", "superuser", "supervisor"]
|
||||||
|
}
|
||||||
|
|
||||||
fn run(
|
fn run(
|
||||||
&self,
|
&self,
|
||||||
_engine_state: &EngineState,
|
_engine_state: &EngineState,
|
||||||
|
Loading…
Reference in New Issue
Block a user