Skip to content

Commit 35963f4

Browse files
author
Volker L.
committed
Add init import from flowerpower module in __init__.py
1 parent 20e7806 commit 35963f4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/flowerpower/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .flowerpower import init

src/flowerpower/cli/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@
77
from .pipeline import app as pipeline_app
88

99

10-
1110
app = typer.Typer()
1211

1312

1413
app.add_typer(pipeline_app, name="pipeline")
1514

1615
if importlib.util.find_spec("apscheduler"):
17-
1816
from .scheduler import app as scheduler_app
17+
1918
app.add_typer(scheduler_app, name="scheduler")
2019

2120
if importlib.util.find_spec("paho"):
22-
2321
from .mqtt import app as mqtt_app
22+
2423
app.add_typer(mqtt_app, name="mqtt")
2524

25+
2626
@app.command()
2727
def init(
2828
project_name: str = None,

0 commit comments

Comments
 (0)