[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] I have searched the documentation and believe that my question is not covered.
Feature Request
poetry shell should take an additional parameter, like so: poetry shell -c "celery -A myproject worker -l debug"
Problem with poetry run approach
I understand this is possible with poetry run celery -A myproject worker -l debug accomplishes this. But the problem with this approach is that when I hit CTRL+c it deactivates the virtual env. If I have to run any Django specific commands I need to manually do poetry shell or prefix it with poetry run.
I use tmuxp to automate my development environment. I usually have multiple panes opened. Longer commands are tedious. Having a -c option would be really helpful (at least, for me :stuck_out_tongue:). Please let me know if this okay and I can open a PR for this request myself.
Feature Request
poetry shell
should take an additional parameter, like so:poetry shell -c "celery -A myproject worker -l debug"
Problem with
poetry run
approachI understand this is possible with
poetry run celery -A myproject worker -l debug
accomplishes this. But the problem with this approach is that when I hit CTRL+c it deactivates the virtual env. If I have to run any Django specific commands I need to manually dopoetry shell
or prefix it withpoetry run
.I use tmuxp to automate my development environment. I usually have multiple panes opened. Longer commands are tedious. Having a
-c
option would be really helpful (at least, for me :stuck_out_tongue:). Please let me know if this okay and I can open a PR for this request myself.