def for_app(*app_names, **kwargs):
 def _for_app(fn, command):
  if is_app(command, *app_names, **kwargs):
   return fn(command)
  else:
   return False
 return decorator(_for_app)

def for_app ( * app_names , ** kwargs ) : def _for_app ( fn , command ) : if is_app ( command , * app_names , ** kwargs ) : return fn ( command ) else : return False return decorator ( _for_app )
specifies that matching script is for on of app names .