-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poetry exit
to safely exit the virtualenv
#1057
Comments
poetry exit
to exit the virtualenvpoetry exit
to safely exit the virtualenv
I'm not sure if it helps, but what I find myself doing is:
using the preview version of poetry. This activates the virtualenv in my current shell which gives me the prompt indicator as well as the option to call |
Related to @Victor-Savu ‘s comment: #571 |
I could see the utility in your suggestion @darrenleeweber ; though maybe, “poetry shell --exit”? I don’t think it needs another top-level command. Then if Poetry-subshell was not already active, it can print a warning, but still exit-0-OK. |
I would like this feature as well, either |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing this issue automatically because it has not had any activity since it has been marked as stale. If you think it is still relevant and should be addressed, feel free to open a new one. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Add a
poetry exit
command to exit a poetry shell; do so safely when the poetry shell is not active already. Sinceexit
will exit a bash shell when apoetry shell
is not active, it's "dangerous". At present, there are issues asking for some form of "marker" that a poetry shell is active (i.e. there seems to be no easy way to tell whether or not a poetry shell is active without issuing anotherpoetry shell
to get poetry feedback about it). Apoetry exit
command is an additional feature that provides a safe exit, regardless of whether apoetry shell
is active or if the status of it is visible.The text was updated successfully, but these errors were encountered: