def METHOD_NAME(unused_cmd, args, **unused_kwds):
  if "--version" in args:
    return (b"v1.14", b"", 0, 5)
  elif "--generate-hashes" in args:
    return (b"Successfully wrote hashes.", b"", 0, 5)
  elif args == ["--save", "-b", "firmware.bin"]:
    return (b"Successfully wrote the image.", b"", 0, 15)
  elif "--show-hashes" in args:
    return (b"00:01:02:12345:abcd-12345", b"", 0, 5)