[cli] renamed init-project to init
This commit is contained in:
parent
7ff8d803ee
commit
446db4ee27
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue