def METHOD_NAME(reactor, *argv):
    parameters = ConnectionParameters.fromCommandLine(reactor, argv)
    endpoint = parameters.endpointForCommand(b"/bin/cat")
    factory = Factory()
    factory.protocol = NoiseProtocol
    d = endpoint.connect(factory)
    d.addCallback(lambda proto: proto.finished)
    return d