Skip to content

Commit

Permalink
[SNOW-1747456] Remove side effects from command registration
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pjob committed Dec 19, 2024
1 parent 3009e8b commit daa3281
Show file tree
Hide file tree
Showing 8 changed files with 236 additions and 231 deletions.
4 changes: 2 additions & 2 deletions src/snowflake/cli/_app/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

import sys

from snowflake.cli._app.cli_app import app_factory
from snowflake.cli._app.cli_app import CliAppFactory


def main(*args):
app = app_factory()
app = CliAppFactory().create_or_get_app()
app(*args)


Expand Down
Loading

0 comments on commit daa3281

Please sign in to comment.