rustpkg: Add do command and get cmd listeners working correctly