aramperes / nut-rs

rups: A Network UPS Tools (NUT) implementation in Rust.
https://crates.io/crates/rups
MIT License
24 stars 3 forks source link

Support `GET CMDDESC` #16

Closed aramperes closed 3 years ago

aramperes commented 3 years ago

https://networkupstools.org/docs/developer-guide.chunked/ar01s09.html

Form:
    GET CMDDESC <upsname> <cmdname>
    GET CMDDESC su700 load.on

Response:
    CMDDESC <upsname> <cmdname> "<description>"
    CMDDESC su700 load.on "Turn on the load immediately"

This is like DESC above, but it applies to the instant commands.