cli: require manual port for now
This commit is contained in:
+2
-2
@@ -12,11 +12,11 @@ REPO_ROOT = get_git_root(__file__)
|
||||
@service.command()
|
||||
def add(
|
||||
name: str = typer.Option(..., "--name", "-n"),
|
||||
ioc_port: int = typer.Option(..., "--ioc-port", "-p"),
|
||||
):
|
||||
init_logging()
|
||||
ServiceCreator(
|
||||
ioc_host="ex-host", # TODO: "sls-vserv-bd-01{{ agebd_env }}"
|
||||
ioc_port=9999, # TODO
|
||||
ioc_port=ioc_port, # TODO: read from registry
|
||||
user="user", # TODO
|
||||
).add_service(name=name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user