You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be confusing, since observing only the output of poetry command, there is no way of telling if it was actually executed, or only simulated.
Workarounds
You need to observe both the command used (to check for dry-run flag) and the output (to see an actual output) in order to check if for example a package was installed. This makes scripting poetry output more challenging.
The text was updated successfully, but these errors were encountered:
I think it is better user experience if the --dry-run option will provide some description of what the command will do.
The easiest solution is to just take a regular output and prepend it with a message.
An "ideal" example in my opinion is git commit --dry-run.
Issue Kind
Change in current behaviour
Description
Currently, there is no difference in output between
poetry install --dry-run
andpoetry install
.Impact
This may be confusing, since observing only the output of poetry command, there is no way of telling if it was actually executed, or only simulated.
Workarounds
You need to observe both the command used (to check for
dry-run
flag) and the output (to see an actual output) in order to check if for example a package was installed. This makes scripting poetry output more challenging.The text was updated successfully, but these errors were encountered: