Introducing a new command: poly deps 👈 👉 #176
DavidVujic
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The Poetry plugin and the standalone CLI now has support for a new command called
poly deps.The command can be used for a bricks overview of the workspace, or for an individual project (by appending the
--directoryoption, just as with the other commands). A "deps" view can help developers anticipate usages, and could be an inspiration to think about how to refactor code: is there a need to separate or merge the bricks in the Polylith workspace?There is also a
--brickoption added. It will visualize the dependencies for an individual brick: from where it is used, and what bricks it uses.Example
A brick dependency overview for a project. In this specific project there is one brick called
hatch. Thehatchbrick is using theparsing,repoandtomlbricks (yes, the bricks in this example are from the Polylith tool itself).Also, the brick dependencies for an individual brick (the
tomlbrick in the screenshot).Beta Was this translation helpful? Give feedback.
All reactions