def cmd_am(args): context = application_init(args) from cola.widgets.patch import new_apply_patches view = new_apply_patches(patches=args.patches) return application_start(context, view)