[cli] switch halfapi import to relative imports in cli.py
This commit is contained in:
parent
c41d0d8f8f
commit
0a34948b98
|
@ -23,9 +23,9 @@ def cli(ctx, version):
|
|||
return click.echo(version())
|
||||
|
||||
if IS_PROJECT:
|
||||
import halfapi.cli.config
|
||||
import halfapi.cli.domain
|
||||
import halfapi.cli.run
|
||||
from . import config
|
||||
from . import domain
|
||||
from . import run
|
||||
|
||||
else:
|
||||
import halfapi.cli.init
|
||||
from . import init
|
||||
|
|
Loading…
Reference in New Issue