16 lines
417 B
Python
16 lines
417 B
Python
|
import argparse
|
||
|
|
||
|
|
||
|
def parse(name):
|
||
|
parser = argparse.ArgumentParser(description=f"Run {name} example")
|
||
|
parser.add_argument(
|
||
|
"-a",
|
||
|
"--address",
|
||
|
help="local address that distributed servers will use for gre tunneling",
|
||
|
)
|
||
|
parser.add_argument(
|
||
|
"-s", "--server", help="distributed server to use for creating nodes"
|
||
|
)
|
||
|
options = parser.parse_args()
|
||
|
return options
|