Skip to content

Commit ba42da8

Browse files
committed
Fix: clean and destroy commands do not require loading the project
1 parent 5b78b35 commit ba42da8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

sqlmesh/cli/main.py

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

2525
SKIP_LOAD_COMMANDS = (
26+
"clean",
2627
"create_external_models",
28+
"destroy",
29+
"environments",
30+
"invalidate",
2731
"migrate",
2832
"rollback",
2933
"run",
30-
"environments",
31-
"invalidate",
3234
"table_name",
3335
)
3436
SKIP_CONTEXT_COMMANDS = ("init", "ui")

0 commit comments

Comments
 (0)