updated distributed python examples a bit to clean things up

This commit is contained in:
Blake Harnden 2019-10-21 11:36:59 -07:00
parent 78f981463d
commit 630b44627c
11 changed files with 46 additions and 167 deletions

View file

@ -0,0 +1,15 @@
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