Add sys users command (#12787)

# Description
Add a new `sys users` command which returns a table of the users of the
system. This is the same table that is currently present as
`(sys).host.sessions`. The same table has been removed from the recently
added `sys host` command.

# User-Facing Changes
Adds a new command. (The old `sys` command is left as is.)
This commit is contained in:
Ian Manske
2024-05-07 12:52:02 +00:00
committed by GitHub
parent c54d223ea0
commit b9331d1b08
5 changed files with 71 additions and 24 deletions

View File

@ -125,6 +125,7 @@ pub fn add_shell_command_context(mut engine_state: EngineState) -> EngineState {
SysMem,
SysNet,
SysTemp,
SysUsers,
UName,
};