зеркало из https://github.com/Azure/aztk.git
21 строка
365 B
Python
21 строка
365 B
Python
import sys
|
|
from install import pick_master, install
|
|
from core import config
|
|
|
|
def run():
|
|
|
|
if len(sys.argv) < 2:
|
|
print("Error: Expected at least one argument")
|
|
exit(1)
|
|
|
|
action = sys.argv[1]
|
|
|
|
if action == "install":
|
|
install.setup_node()
|
|
else:
|
|
print("Action not supported")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
run()
|