reset, save

- removed 'lock' test, corrected README example
- can now test 'save', 'reset', 'load'

prelim test for potato passes
This commit is contained in:
pblivingston
2025-12-03 15:07:25 -05:00
parent b5546aa56c
commit cfa7de9b11
4 changed files with 55 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
class Special : IRemote {
Special ([Object]$remote) : base ($remote) {
AddActionMembers -PARAMS @('restart', 'shutdown', 'show', 'lock')
AddActionMembers -PARAMS @('restart', 'shutdown', 'show', 'lock', 'reset')
}
[string] identifier () {
@@ -36,6 +36,10 @@ class Special : IRemote {
[void] Load ([string]$filename) {
$this.Setter('load', $filename)
}
[void] Save ([string]$filename) {
$this.Setter('save', $filename)
}
}
function Make_Command([Object]$remote) {