Skip to content

Commit

Permalink
pass the context to shell
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcarter committed Feb 2, 2017
1 parent c894ef8 commit 671ecd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cumulusci/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ def version():

@click.command(name='shell', help='Drop into a python shell')
@pass_config
def shell(config):
@click.pass_context
def shell(ctx,config):
code.interact(local=dict(globals(), **locals()))

# Top Level Groups
Expand Down

0 comments on commit 671ecd7

Please sign in to comment.