From 446db4ee272aaf19d96d144d0a66160d8c402d8a Mon Sep 17 00:00:00 2001 From: Maxime Alves LIRMM Date: Wed, 5 Aug 2020 12:30:11 +0200 Subject: [PATCH] [cli] renamed init-project to init --- halfapi/cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/halfapi/cli/__init__.py b/halfapi/cli/__init__.py index 63a19af..a4c3a26 100644 --- a/halfapi/cli/__init__.py +++ b/halfapi/cli/__init__.py @@ -342,7 +342,7 @@ def update_db(domains): @click.argument('project') @click.option('--repo', default=None) @cli.command() -def init_project(project, repo): +def init(project, repo): if not re.match('^[a-z0-9_]+$', project, re.I): click.echo('Project name must match "^[a-z0-9_]+$", retry.', err=True) sys.exit(1)