DavidVujic / poetry-multiproject-plugin

A Poetry plugin that makes it simple to share code between projects in monorepos.
https://davidvujic.github.io/python-polylith-docs/installation/
MIT License
190 stars 7 forks source link

missing support for the new "--directory" option #20

Closed DavidVujic closed 1 year ago

DavidVujic commented 1 year ago

Describe the bug A clear and concise description of what the bug is. Since Poetry 1.3.x there is a possibility to add the --directory option. This is very useful for monorepos and makes folder navigation unnecessary. But that option does not currently work as expected for any of the commands in this plugin.

To Reproduce Steps to reproduce the behavior:

  1. Open a terminal window
  2. Go to root of the project
  3. Run the command check-project or build-project with the directory option
  4. The actual project isn't checked or built.

Expected behavior The check-project and build-project commands should to the actions on the directory pointed at with the new --directory option.