Skip to content

Commit

Permalink
feat(cli): ability to set config CLI params via env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsin committed Dec 10, 2024
1 parent bee88a4 commit b249db1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sqlmesh/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,19 @@ def _sqlmesh_version() -> str:
"--gateway",
type=str,
help="The name of the gateway.",
envvar="SQLMESH_GATEWAY",
)
@click.option(
"--ignore-warnings",
is_flag=True,
help="Ignore warnings.",
envvar="SQLMESH_IGNORE_WARNINGS",
)
@click.option(
"--debug",
is_flag=True,
help="Enable debug mode.",
envvar="SQLMESH_DEBUG",
)
@click.option(
"--log-to-stdout",
Expand Down

0 comments on commit b249db1

Please sign in to comment.