Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen Kiely <[email protected]>
  • Loading branch information
gsnider2195 and smk4664 authored Oct 18, 2024
1 parent 1f351bf commit 1758d8b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions nautobot-app/{{ cookiecutter.project_slug }}/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,13 @@ def shell_plus(context):
run_command(context, command)


@task
@task(
help={
"service": "Docker compose service name to launch cli in (default: nautobot).",
},
)
def cli(context, service="nautobot"):
"""Launch a bash shell inside the Nautobot container."""
"""Launch a bash shell inside the container."""
run_command(context, "bash", service=service)


Expand Down

0 comments on commit 1758d8b

Please sign in to comment.