cli: require user for now
This commit is contained in:
+2
-1
@@ -13,11 +13,12 @@ REPO_ROOT = get_git_root(__file__)
|
||||
def add(
|
||||
name: str = typer.Option(..., "--name", "-n"),
|
||||
ioc_port: int = typer.Option(..., "--ioc-port", "-p"),
|
||||
user: str = typer.Option(..., "--user", "-u"),
|
||||
):
|
||||
init_logging()
|
||||
ServiceCreator(
|
||||
ioc_port=ioc_port, # TODO: read from registry
|
||||
user="user", # TODO
|
||||
user=user, # TODO: read from 'whoami'?
|
||||
).add_service(name=name)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user