When calling SetArgs with Get: true, it's useful to be able to read the result as bytes rather than a string (in the same way you would with Get). However, SetArgs returns *StatusCmd (which doesn't implement the Bytes() method) rather than *StringCmd (which does).
This PR adds a Bytes() method to *StatusCmd to support this use case.
When calling
SetArgs
withGet: true
, it's useful to be able to read the result as bytes rather than a string (in the same way you would withGet
). However,SetArgs
returns*StatusCmd
(which doesn't implement theBytes()
method) rather than*StringCmd
(which does).This PR adds a
Bytes()
method to*StatusCmd
to support this use case.