docs: path not required

This commit is contained in:
Florian Hönicke
2023-05-03 16:25:04 +02:00
parent 6204532a0b
commit da133bf483
2 changed files with 17 additions and 34 deletions

View File

@@ -30,7 +30,7 @@ https://github.com/jina-ai/gptdeploy/issues/new
return wrapper
def path_param(func):
@click.option('--path', required=True, help='Path to the generated microservice.')
@click.option('--path', default='microservice', help='Path to the generated microservice.')
@functools.wraps(func)
def wrapper(*args, **kwargs):
path = os.path.expanduser(kwargs['path'])