Skip to content

Commit 34a79e7

Browse files
committed
Fix: clean, destroy, janitor commands do not require loading the project
1 parent 5b78b35 commit 34a79e7

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

sqlmesh/cli/main.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@
2323
logger = logging.getLogger(__name__)
2424

2525
SKIP_LOAD_COMMANDS = (
26+
"clean",
2627
"create_external_models",
28+
"destroy",
29+
"environments",
30+
"invalidate",
31+
"janitor",
2732
"migrate",
2833
"rollback",
2934
"run",
30-
"environments",
31-
"invalidate",
3235
"table_name",
3336
)
3437
SKIP_CONTEXT_COMMANDS = ("init", "ui")

0 commit comments

Comments
 (0)