parse_service_args

catkit2.testbed.parse_service_args(argv=None)

Parse the command line arguments for a launched service.

argvlist of strings or None

The command line arguments. If this is None (default), sys.argv will be used instead.

service_idstring

The name of the service that was launched.

service_portinteger

The port of the service to start on.

testbed_portinteger

The port of the testbed server to connect to.