8 print "This application is deprecated. It will disappear in the future. Use ambctl"
10 parser = argparse.ArgumentParser()
11 parser.add_argument("get", help="get {objectName}")
12 args = parser.parse_args()
16 bus = dbus.SystemBus()
17 managerObject = bus.get_object("org.automotive.message.broker", "/");
18 managerInterface = dbus.Interface(managerObject, "org.automotive.Manager")
20 objects = managerInterface.FindObject(objectName);
23 propertiesInterface = dbus.Interface(bus.get_object("org.automotive.message.broker", o),"org.freedesktop.DBus.Properties")
24 print json.dumps(propertiesInterface.GetAll("org.automotive."+objectName), indent=2)