diff options
Diffstat (limited to 'module/remote/thriftbackend/thriftgen/pyload/Pyload-remote')
-rwxr-xr-x | module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote index 0251fbeae..8c3390438 100755 --- a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote +++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote @@ -87,6 +87,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' void removeAccount(PluginName plugin, string account)' print ' bool login(string username, string password)' print ' UserData getUserData(string username, string password)' + print ' getAllUserData()' print ' getServices()' print ' bool hasService(PluginName plugin, string func)' print ' string call(ServiceCall info)' @@ -526,6 +527,12 @@ elif cmd == 'getUserData': sys.exit(1) pp.pprint(client.getUserData(args[0],args[1],)) +elif cmd == 'getAllUserData': + if len(args) != 0: + print 'getAllUserData requires 0 args' + sys.exit(1) + pp.pprint(client.getAllUserData()) + elif cmd == 'getServices': if len(args) != 0: print 'getServices requires 0 args' |