From 3116bca2fc5a81785702a6d386345e106d74c1a6 Mon Sep 17 00:00:00 2001 From: Vinayak Mehta Date: Fri, 24 Jan 2025 18:23:24 +0100 Subject: [PATCH] Remove cyclic dependency on directory init --- docs/usage.rst | 2 +- src/houseplant/cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage.rst b/docs/usage.rst index fd1ba4d..076b1f2 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -141,4 +141,4 @@ Houseplant uses the following environment variables: - ``CLICKHOUSE_PORT``: ClickHouse server port - ``CLICKHOUSE_USER``: ClickHouse username - ``CLICKHOUSE_PASSWORD``: ClickHouse password -- ``CLICKHOUSE_DATABASE``: ClickHouse database name +- ``CLICKHOUSE_DB``: ClickHouse database name diff --git a/src/houseplant/cli.py b/src/houseplant/cli.py index 4aa0825..c9e4d87 100644 --- a/src/houseplant/cli.py +++ b/src/houseplant/cli.py @@ -51,7 +51,7 @@ def common( @app.command() def init(): """Initialize a new houseplant project.""" - hp = get_houseplant() + hp = Houseplant() hp.init()