Add info to AddCommandDialog

pull/109/head
Mark Ireland 3 years ago
parent 572bf2895e
commit 64b08e9cdd

@ -112,6 +112,12 @@ namespace UserInterface.Views
item.ShowCommandInput = false;
item.ShowKeyInput = false;
break;
case AvailableCommands.HibernateCommand:
item.Description = "This command hibernates the PC immediately. ";
item.MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Commands.md#hibernatecommand";
item.ShowCommandInput = false;
item.ShowKeyInput = false;
break;
case AvailableCommands.LogOffCommand:
item.Description = "This command logs the current user off immediately. ";
item.MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Commands.md#logoffcommand";

@ -10,6 +10,10 @@ This command shuts down the computer immediately. It runs `shutdown /s`.
This command restarts the computer immediately. It runs `shutdown /r`.
### HibernateCommand
This command hibernates the computer immediately. It runs `shutdown /h`.
### LogOffCommand
This command logs off the current user. It runs `shutdown /l`.

Loading…
Cancel
Save