Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jtcohen6 committed Jan 20, 2023
1 parent 705eb63 commit b197bb6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/dbt/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ def deps(ctx, **kwargs):
# dbt init
@cli.command("init")
@click.pass_context
# for backwards compatibility, accept 'project_name' as an optional positional argument
@click.argument("project_name", required=False)
@p.profile
@p.profiles_dir
@p.project_dir
Expand All @@ -269,7 +271,7 @@ def deps(ctx, **kwargs):
@p.vars
@requires.preflight
def init(ctx, **kwargs):
"""Initialize a new DBT project."""
"""Initialize a new dbt project."""
click.echo(f"`{inspect.stack()[0][3]}` called\n flags: {ctx.obj['flags']}")
return None, True

Expand Down Expand Up @@ -364,8 +366,8 @@ def run(ctx, **kwargs):

# dbt run operation
@cli.command("run-operation")
@click.argument("macro")
@click.pass_context
@click.argument("macro")
@p.args
@p.profile
@p.profiles_dir
Expand Down

0 comments on commit b197bb6

Please sign in to comment.