diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-02 16:50:03 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-02 16:50:03 +0200 |
commit | eb034e731f610705c10f4b182772183fdefd8e28 (patch) | |
tree | a9e7887df443451bdc133717c225a77a2f0663b8 /module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | |
parent | purged old plugins (diff) | |
download | pyload-eb034e731f610705c10f4b182772183fdefd8e28.tar.xz |
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' |