Реализовать лабораторную работу 3
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
import argparse
|
||||
import json
|
||||
from pathlib import Path
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "student-tests"))
|
||||
from cluster import rolling_replace
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("--base-url", default="http://127.0.0.1:18080")
|
||||
args = parser.parse_args()
|
||||
print(json.dumps(rolling_replace(args.base_url), indent=2))
|
||||
Reference in New Issue
Block a user